projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d5726c
)
bnx2x: Returning EBUSY in debug mode as well
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 12 Feb 2009 08:37:21 +0000
(08:37 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 16 Feb 2009 07:31:45 +0000
(23:31 -0800)
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index 2e4d64df66f54966141b7f9a2c18e7d5bb79c889..6c04539e42c7aafe63814f5d5c775b3217597f7a 100644
(file)
--- 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--;