]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wlan-ng: do not return -ENOSYS
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 9 Oct 2016 15:10:23 +0000 (17:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:36 +0000 (10:25 +0200)
commitc432372e5cf229f6fd437cfde0aa83714da78302
tree264560d8260e95432fe8c016f218be67e30411e6
parentce435c8f909e4654634de7fd61a93502aefae908
staging: wlan-ng: do not return -ENOSYS

Fixed coding style issue by replacing ENOSYS with EINVAL.

This patch fix the following checkpatch.pl warnings in p80211netdev.c:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211netdev.c