diff options
author | Martin Homuth <martin@martinhomuth.de> | 2017-12-19 00:24:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 15:28:09 +0100 |
commit | 201521259602b0fb1acb1c977a9941049b0f83d6 (patch) | |
tree | 265231b126b02b05fad13174fdc71eb7373e88bc | |
parent | 8400553b1903e269e35855ba09cdbd153506e638 (diff) | |
download | linux-stable-201521259602b0fb1acb1c977a9941049b0f83d6.tar.gz linux-stable-201521259602b0fb1acb1c977a9941049b0f83d6.tar.bz2 linux-stable-201521259602b0fb1acb1c977a9941049b0f83d6.zip |
staging: rtl8712: style fix returned error code
This patch fixes a coding style issues in the rtl8712 module as noted
by checkpatch.pl regarding the returned error code.
It fixes the following checkpatch.pl warning:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else
Signed-off-by: Martin Homuth <martin@martinhomuth.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index 68ddb4aa0ebe..bf9c0a497616 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c @@ -1853,7 +1853,7 @@ static int dummy(struct net_device *dev, struct iw_request_info *a, union iwreq_data *wrqu, char *b) { - return -ENOSYS; + return -EINVAL; } static int r8711_drvext_hdl(struct net_device *dev, |