mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00:00
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>
This commit is contained in:
parent
4228c3a23a
commit
e5b42483cc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue