mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +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:
committed by
David S. Miller
parent
4228c3a23a
commit
e5b42483cc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user