commit | ffb9525141bc2f16badef715bd0fabd0cd66450e | [log] [tgz] |
---|---|---|
author | Eugene Crosser <Eugene.Crosser@ru.ibm.com> | Mon May 18 14:27:58 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 18 12:14:17 2015 -0400 |
tree | 01193542205cad9082e40e7440c1ccf03d55e606 | |
parent | ff1d929110424cd432955e3d1e005442179192b8 [diff] |
qeth: replace ENOSYS with EOPNOTSUPP Since recently, `checkpatch.pl` advices that ENOSYS should not be used for anything other than "invalid syscall nr". This patch replaces ENOSYS return code with EOPNOTSUPP for the "unsupported function" conditions. Signed-off-by: Eugene Crosser <Eugene.Crosser@ru.ibm.com> Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>