Skip to content

Commit e5b4248

Browse files
hkallweitdavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4228c3a commit e5b4248

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/core/dev_ioctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ EXPORT_SYMBOL(dev_load);
462462
* @net: the applicable net namespace
463463
* @cmd: command to issue
464464
* @ifr: pointer to a struct ifreq in user space
465+
* @data: data exchanged with userspace
465466
* @need_copyout: whether or not copy_to_user() should be called
466467
*
467468
* Issue ioctl functions to devices. This is normally called by the

0 commit comments

Comments
 (0)