Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26033
b: refs/heads/master
c: 64cb9c6
h: refs/heads/master
i:
  26031: ae07693
v: v3
  • Loading branch information
Hal Rosenstock authored and Roland Dreier committed Apr 19, 2006
1 parent f8e5d80 commit fad020d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f80887d0b9e1af481dc4a30fc145dfed24ddfd59
refs/heads/master: 64cb9c6aff273b1cd449e773c937378d68233f8b
5 changes: 1 addition & 4 deletions trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,7 @@ struct ib_mad_agent *ib_register_mad_agent(struct ib_device *device,
goto error1;
}
/* Make sure class supplied is consistent with RMPP */
if (ib_is_mad_class_rmpp(mad_reg_req->mgmt_class)) {
if (!rmpp_version)
goto error1;
} else {
if (!ib_is_mad_class_rmpp(mad_reg_req->mgmt_class)) {
if (rmpp_version)
goto error1;
}
Expand Down

0 comments on commit fad020d

Please sign in to comment.