diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-08-27 07:03:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-27 07:03:53 +0200 |
commit | 0fdf4d096102464e290d5ccaee8ad0cee7bd9e8a (patch) | |
tree | dc0d644f715f48d78c20ed576c83cf10a436f84e /drivers/net/slip.h | |
parent | gro: __napi_gro_receive() optimizations (diff) | |
download | linux-0fdf4d096102464e290d5ccaee8ad0cee7bd9e8a.tar.xz linux-0fdf4d096102464e290d5ccaee8ad0cee7bd9e8a.zip |
bnx2x: fix wrong return from bnx2x_trylock_hw_lock
bnx2x_trylock_hw_lock() returns a bool :
true if succeeded to acquire the lock.
false in case of error.
-EINVAL is not an acceptable value, since its promoted to true.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/slip.h')
0 files changed, 0 insertions, 0 deletions