Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154052
b: refs/heads/master
c: af04662
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Roland Dreier committed Jun 23, 2009
1 parent 5fb88f7 commit d7c2a17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 0cf89dcdbc53f2b43e4ce7419b6ff47f4309c2eb
refs/heads/master: af04662b4d80de5797a595bc9855d09ef4fe55cc
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/ehca/ehca_hca.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int ehca_query_gid(struct ib_device *ibdev, u8 port,
ib_device);
struct hipz_query_port *rblock;

if (index > 255) {
if (index < 0 || index > 255) {
ehca_err(&shca->ib_device, "Invalid index: %x.", index);
return -EINVAL;
}
Expand Down

0 comments on commit d7c2a17

Please sign in to comment.