]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: replace ENOSYS by EINVAL
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 8 Feb 2017 08:31:14 +0000 (09:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Feb 2017 20:11:25 +0000 (15:11 -0500)
commit53f5a3132cdebda5a9ff01827e05dedbb81bdd86
tree6fee0550d6fa2d5ce4b718a58b732e0fc0ea30a6
parentfbdadcd759b7872547820b81c2400ddb27056a36
net: stmmac: replace ENOSYS by EINVAL

As said by checkpatch ENOSYS means 'invalid syscall nr' and nothing
else.
This patch replace ENOSYS by the more appropriate value EINVAL.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c