]> git.baikalelectronics.ru Git - kernel.git/commit
net/core: Document all dev_ioctl() arguments
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Mar 2019 16:17:20 +0000 (09:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2019 20:49:43 +0000 (13:49 -0700)
commit71fe53153ca49b01ea7397381a44fad27118b3d5
treec62c42730ee3b733a3204b7fa863c218451fc11a
parent31e50c8770cec6b0963c5ac3e329179304273ab5
net/core: Document all dev_ioctl() arguments

This patch avoids that the following warnings are reported when building
with W=1:

net/core/dev_ioctl.c:378: warning: Function parameter or member 'ifr' not described in 'dev_ioctl'
net/core/dev_ioctl.c:378: warning: Function parameter or member 'need_copyout' not described in 'dev_ioctl'
net/core/dev_ioctl.c:378: warning: Excess function parameter 'arg' description in 'dev_ioctl'

Cc: Al Viro <viro@zeniv.linux.org.uk>
Fixes: e1079cb6ce0b ("dev_ioctl(): move copyin/copyout to callers") # v4.16.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev_ioctl.c