| title: | Re PATCH bnx2x fix wrong return from bnx2 |
|
From: "Eilon Greenstein" <eilong@xxxxxxxxxxxx
Date: Fri, 27 Aug 2010 07:54:44 +0300
On Thu, 2010-08-26 at 20:49 -0700, Eric Dumazet wrote:
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.
Indeed - thanks Eric!
Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx
Acked-by: Eilon Greenstein <eilong@xxxxxxxxxxxx
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
|