Commit e5b42483 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4228c3a2
...@@ -462,6 +462,7 @@ EXPORT_SYMBOL(dev_load); ...@@ -462,6 +462,7 @@ EXPORT_SYMBOL(dev_load);
* @net: the applicable net namespace * @net: the applicable net namespace
* @cmd: command to issue * @cmd: command to issue
* @ifr: pointer to a struct ifreq in user space * @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 * @need_copyout: whether or not copy_to_user() should be called
* *
* Issue ioctl functions to devices. This is normally called by the * Issue ioctl functions to devices. This is normally called by the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment