Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311243
b: refs/heads/master
c: 7b33dc2
h: refs/heads/master
i:
  311241: c57574a
  311239: a16be93
v: v3
  • Loading branch information
Dan Carpenter authored and Roland Dreier committed Jun 14, 2012
1 parent 94cdc83 commit e7133b2
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: a3698a9b919d2a54e3348be48ab65d102b2f105d
refs/heads/master: 7b33dc2b050b71de0e202885a26caffbc864d072
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int ocrdma_query_gid(struct ib_device *ibdev, u8 port,

dev = get_ocrdma_dev(ibdev);
memset(sgid, 0, sizeof(*sgid));
if (index > OCRDMA_MAX_SGID)
if (index >= OCRDMA_MAX_SGID)
return -EINVAL;

memcpy(sgid, &dev->sgid_tbl[index], sizeof(*sgid));
Expand Down

0 comments on commit e7133b2

Please sign in to comment.