diff options
author | David S. Miller <davem@davemloft.net> | 2010-01-11 07:55:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-11 07:55:03 +0100 |
commit | d4a66e752d0b19934dd208884f8605fe385aaaa9 (patch) | |
tree | 72fb727be1d7636aae9cddfe9aa93ac9dec75daf /drivers/net/niu.c | |
parent | ixgbe: Fix ethtool diag test for VT mode operation (diff) | |
parent | vxge: use pci_dma_mapping_error to test return value (diff) | |
download | linux-d4a66e752d0b19934dd208884f8605fe385aaaa9.tar.xz linux-d4a66e752d0b19934dd208884f8605fe385aaaa9.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/benet/be_cmds.h
include/linux/sysctl.h
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 920f0ecf7a0a..0e260cfbff7b 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -2844,7 +2844,7 @@ static int tcam_wait_bit(struct niu *np, u64 bit) break; udelay(1); } - if (limit < 0) + if (limit <= 0) return -ENODEV; return 0; |