diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-03-24 23:11:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-27 09:32:21 +0100 |
commit | e5b42483ccce50d5b957f474fd332afd4ef0c27b (patch) | |
tree | 2232ec3c2d53735c970f792629117c48ca8af1e0 /net | |
parent | 4228c3a23adc3a4369ecf7329af34ba753be3594 (diff) |
dev_ioctl: fix a W=1 warning
This fixes the following warning when compiled with GCC 12.2.0 and W=1.
net/core/dev_ioctl.c:475: warning: Function parameter or member 'data'
not described in 'dev_ioctl'
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev_ioctl.c b/net/core/dev_ioctl.c index 5cdbfbf9a7dc..846669426236 100644 --- a/net/core/dev_ioctl.c +++ b/net/core/dev_ioctl.c @@ -462,6 +462,7 @@ EXPORT_SYMBOL(dev_load); * @net: the applicable net namespace * @cmd: command to issue * @ifr: pointer to a struct ifreq in user space + * @data: data exchanged with userspace * @need_copyout: whether or not copy_to_user() should be called * * Issue ioctl functions to devices. This is normally called by the |