The variable name is not "arg" but "ifr" in dev_ioctl()
Signed-off-by: Sun Lianwen <sunlw.f...@cn.fujitsu.com> --- net/core/dev_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.17.0