]> 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)
commit0100a5cc2375c5c6a059ca9d50daed20afc30c8a
tree6fee0550d6fa2d5ce4b718a58b732e0fc0ea30a6
parentc3da6a2b1c44b949b4316e83413256ece017e359
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