Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351337
b: refs/heads/master
c: 2382685
h: refs/heads/master
i:
  351335: 3f1c651
v: v3
  • Loading branch information
Ariel Elior authored and David S. Miller committed Jan 10, 2013
1 parent 0d22663 commit 2ec048e
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: 2efd32ee1b60b0b31404ca47c1ce70e5a5d24ebc
refs/heads/master: 238268503f306cdc435eff2181e38c08ce412ed5
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -13360,7 +13360,7 @@ int bnx2x_pretend_func(struct bnx2x *bp, u16 pretend_func_val)
{
u32 pretend_reg;

if (CHIP_IS_E1H(bp) && pretend_func_val > E1H_FUNC_MAX)
if (CHIP_IS_E1H(bp) && pretend_func_val >= E1H_FUNC_MAX)
return -1;

/* get my own pretend register */
Expand Down

0 comments on commit 2ec048e

Please sign in to comment.