From: Eilon Greenstein Date: Thu, 12 Feb 2009 08:37:21 +0000 (+0000) Subject: bnx2x: Returning EBUSY in debug mode as well X-Git-Tag: firefly_0821_release~15237^2~701 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36e552ab1a51067c5ff8de63416e3fcf2c86a7bf;p=firefly-linux-kernel-4.4.55.git bnx2x: Returning EBUSY in debug mode as well Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 2e4d64df66f5..6c04539e42c7 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c @@ -7059,9 +7059,8 @@ static int bnx2x_stop_leading(struct bnx2x *bp) *bp->dsb_sp_prod, dsb_sp_prod_idx); #ifdef BNX2X_STOP_ON_ERROR bnx2x_panic(); -#else - rc = -EBUSY; #endif + rc = -EBUSY; break; } cnt--;