mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:26:44 +07:00
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
@ -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 New Issue
Block a user