bnx2x: Returning EBUSY in debug mode as well
Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8d5726c404
commit
36e552ab1a
1 changed files with 1 additions and 2 deletions
|
@ -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--;
|
||||
|
|
Loading…
Reference in a new issue