Message ID | 20180510030120.4747-1-sunlw.fnst@cn.fujitsu.com |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
Series | [net-next] net/core: correct the variable name in dev_ioctl() comment | expand |
From: Sun Lianwen <sunlw.fnst@cn.fujitsu.com> Date: Thu, 10 May 2018 11:01:20 +0800 > The variable name is not "arg" but "ifr" in dev_ioctl() > > Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com> If you are going to touch this, fix it full by adding the need_copyout variable to the comment as well.
diff --git a/net/core/dev_ioctl.c b/net/core/dev_ioctl.c index a04e1e88bf3a..114e29053977 100644 --- a/net/core/dev_ioctl.c +++ b/net/core/dev_ioctl.c @@ -378,7 +378,7 @@ EXPORT_SYMBOL(dev_load); * dev_ioctl - network device ioctl * @net: the applicable net namespace * @cmd: command to issue - * @arg: pointer to a struct ifreq in user space + * @ifr: pointer to a struct ifreq in user space * * Issue ioctl functions to devices. This is normally called by the * user space syscall interfaces but can sometimes be useful for
The variable name is not "arg" but "ifr" in dev_ioctl() Signed-off-by: Sun Lianwen <sunlw.fnst@cn.fujitsu.com> --- net/core/dev_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)