Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69407
b: refs/heads/master
c: e6a5fdf
h: refs/heads/master
i:
  69405: 2ec49c2
  69403: fcf4539
  69399: f2622d5
  69391: abe9a19
  69375: 91f454e
v: v3
  • Loading branch information
David S. Miller committed Oct 15, 2007
1 parent f8fec58 commit 5a003b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 65c88466602c61b639f75623e5ba72c1534df9bd
refs/heads/master: e6a5fdf56e3a5fc179cd8c8c19081a9a11882b0c
4 changes: 2 additions & 2 deletions trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -6213,7 +6213,7 @@ static int __devinit niu_pci_probe_sprom(struct niu *np)
val = nr64(ESPC_MOD_STR_LEN);
niudbg(PROBE, "SPROM: MOD_STR_LEN[%llu]\n",
(unsigned long long) val);
if (val > 8 * 4)
if (val >= 8 * 4)
return -EINVAL;

for (i = 0; i < val; i += 4) {
Expand All @@ -6229,7 +6229,7 @@ static int __devinit niu_pci_probe_sprom(struct niu *np)
val = nr64(ESPC_BD_MOD_STR_LEN);
niudbg(PROBE, "SPROM: BD_MOD_STR_LEN[%llu]\n",
(unsigned long long) val);
if (val > 4 * 4)
if (val >= 4 * 4)
return -EINVAL;

for (i = 0; i < val; i += 4) {
Expand Down

0 comments on commit 5a003b3

Please sign in to comment.