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:
17e678d
)
sfc: Fail self-test with -EBUSY, not -EIO, if the device is busy
author
Ben Hutchings
<bhutchings@solarflare.com>
Wed, 12 Feb 2014 19:00:28 +0000
(19:00 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 12 Feb 2014 22:53:35 +0000
(17:53 -0500)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/ethtool.c
b/drivers/net/ethernet/sfc/ethtool.c
index 3444dd618219ef2f3e7c94f42622033991aece15..7d5cb86a47efabd927f86fd2543d80e4ac7da910 100644
(file)
--- a/
drivers/net/ethernet/sfc/ethtool.c
+++ b/
drivers/net/ethernet/sfc/ethtool.c
@@
-461,7
+461,7
@@
static void efx_ethtool_self_test(struct net_device *net_dev,
goto fail;
if (efx->state != STATE_READY) {
- rc = -E
IO
;
+ rc = -E
BUSY
;
goto out;
}