* [PATCH net-next] dev_ioctl: fix a W=1 warning
@ 2023-03-24 22:11 Heiner Kallweit
2023-03-25 9:51 ` Simon Horman
2023-03-27 8:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2023-03-24 22:11 UTC (permalink / raw)
To: Jakub Kicinski, David Miller, Eric Dumazet, Paolo Abeni
Cc: netdev@vger.kernel.org
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 <hkallweit1@gmail.com>
---
net/core/dev_ioctl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/dev_ioctl.c b/net/core/dev_ioctl.c
index 5cdbfbf9a..846669426 100644
--- a/net/core/dev_ioctl.c
+++ b/net/core/dev_ioctl.c
@@ -462,6 +462,7 @@ EXPORT_SYMBOL(dev_load);
* @net: the applicable net namespace
* @cmd: command to issue
* @ifr: pointer to a struct ifreq in user space
+ * @data: data exchanged with userspace
* @need_copyout: whether or not copy_to_user() should be called
*
* Issue ioctl functions to devices. This is normally called by the
--
2.40.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] dev_ioctl: fix a W=1 warning
2023-03-24 22:11 [PATCH net-next] dev_ioctl: fix a W=1 warning Heiner Kallweit
@ 2023-03-25 9:51 ` Simon Horman
2023-03-27 8:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2023-03-25 9:51 UTC (permalink / raw)
To: Heiner Kallweit
Cc: Jakub Kicinski, David Miller, Eric Dumazet, Paolo Abeni,
netdev@vger.kernel.org
On Fri, Mar 24, 2023 at 11:11:49PM +0100, Heiner Kallweit wrote:
> 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 <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] dev_ioctl: fix a W=1 warning
2023-03-24 22:11 [PATCH net-next] dev_ioctl: fix a W=1 warning Heiner Kallweit
2023-03-25 9:51 ` Simon Horman
@ 2023-03-27 8:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-03-27 8:40 UTC (permalink / raw)
To: Heiner Kallweit; +Cc: kuba, davem, edumazet, pabeni, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:
On Fri, 24 Mar 2023 23:11:49 +0100 you wrote:
> 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 <hkallweit1@gmail.com>
>
> [...]
Here is the summary with links:
- [net-next] dev_ioctl: fix a W=1 warning
https://git.kernel.org/netdev/net-next/c/e5b42483ccce
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-27 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-24 22:11 [PATCH net-next] dev_ioctl: fix a W=1 warning Heiner Kallweit
2023-03-25 9:51 ` Simon Horman
2023-03-27 8:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).