aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2010-08-26 22:03:53 -0700
committerDavid S. Miller <[email protected]>2010-08-26 22:03:53 -0700
commit0fdf4d096102464e290d5ccaee8ad0cee7bd9e8a (patch)
treedc0d644f715f48d78c20ed576c83cf10a436f84e /scripts
parent40d0802b3eb47d57e2d57a5244a18cbbe9632e13 (diff)
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 <[email protected]> Acked-by: Eilon Greenstein <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions