Skip to content

Commit

Permalink
bnx2x: Returning EBUSY in debug mode as well
Browse files Browse the repository at this point in the history
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Feb 16, 2009
1 parent 8d5726c commit 36e552a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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--;
Expand Down

0 comments on commit 36e552a

Please sign in to comment.