Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265561
b: refs/heads/master
c: 18cf124
h: refs/heads/master
i:
  265559: b6ed7b5
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Aug 26, 2011
1 parent 9cb0714 commit d9cdc4c
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: 44861f4455a77beaec2e53459c77b7fb0eda91a7
refs/heads/master: 18cf1248eca3f1fc38e12b314a6cadd286260e65
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/brocade/bna/bfa_msgq.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ bfa_msgq_rspq_pi_update(struct bfa_msgq_rspq *rspq, struct bfi_mbmsg *mb)
mc = msghdr->msg_class;
num_entries = ntohs(msghdr->num_entries);

if ((mc > BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL))
if ((mc >= BFI_MC_MAX) || (rspq->rsphdlr[mc].cbfn == NULL))
break;

(rspq->rsphdlr[mc].cbfn)(rspq->rsphdlr[mc].cbarg, msghdr);
Expand Down

0 comments on commit d9cdc4c

Please sign in to comment.