diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_main.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_main.c b/drivers/net/bnx2x/bnx2x_main.c index 05a08d1a09f3..7fb9a61a73c7 100644 --- a/drivers/net/bnx2x/bnx2x_main.c +++ b/drivers/net/bnx2x/bnx2x_main.c | |||
@@ -781,7 +781,7 @@ static bool bnx2x_trylock_hw_lock(struct bnx2x *bp, u32 resource) | |||
781 | DP(NETIF_MSG_HW, | 781 | DP(NETIF_MSG_HW, |
782 | "resource(0x%x) > HW_LOCK_MAX_RESOURCE_VALUE(0x%x)\n", | 782 | "resource(0x%x) > HW_LOCK_MAX_RESOURCE_VALUE(0x%x)\n", |
783 | resource, HW_LOCK_MAX_RESOURCE_VALUE); | 783 | resource, HW_LOCK_MAX_RESOURCE_VALUE); |
784 | return -EINVAL; | 784 | return false; |
785 | } | 785 | } |
786 | 786 | ||
787 | if (func <= 5) | 787 | if (func <= 5) |