[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180510030120.4747-1-sunlw.fnst@cn.fujitsu.com>
Date: Thu, 10 May 2018 11:01:20 +0800
From: Sun Lianwen <sunlw.fnst@...fujitsu.com>
To: <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: [PATCH net-next] net/core: correct the variable name in dev_ioctl() comment
The variable name is not "arg" but "ifr" in dev_ioctl()
Signed-off-by: Sun Lianwen <sunlw.fnst@...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
Powered by blists - more mailing lists