projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0b812
)
sfc: Map MCDI error MC_CMD_ERR_ENOTSUP to Linux EOPNOTSUPP
author
Ben Hutchings
<bhutchings@solarflare.com>
Tue, 8 Oct 2013 15:36:58 +0000
(16:36 +0100)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Thu, 12 Dec 2013 22:06:57 +0000
(22:06 +0000)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/mcdi.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/mcdi.c
b/drivers/net/ethernet/sfc/mcdi.c
index aee67be3d8c56816f427237cfd77fc57dbbe4dc2..d317dfdee84574b074131d8d497e0f8264863f6e 100644
(file)
--- a/
drivers/net/ethernet/sfc/mcdi.c
+++ b/
drivers/net/ethernet/sfc/mcdi.c
@@
-192,6
+192,8
@@
static int efx_mcdi_errno(unsigned int mcdi_err)
TRANSLATE_ERROR(EALREADY);
TRANSLATE_ERROR(ENOSPC);
#undef TRANSLATE_ERROR
+ case MC_CMD_ERR_ENOTSUP:
+ return -EOPNOTSUPP;
case MC_CMD_ERR_ALLOC_FAIL:
return -ENOBUFS;
case MC_CMD_ERR_MAC_EXIST: