From: Eric Dumazet Date: Fri, 27 Aug 2010 05:03:53 +0000 (-0700) Subject: bnx2x: fix wrong return from bnx2x_trylock_hw_lock X-Git-Tag: v2.6.37-rc1~147^2~646 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fdf4d096102464e290d5ccaee8ad0cee7bd9e8a;p=pandora-kernel.git 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 Acked-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed