[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <c50a22ba-a6ce-186a-a061-f9326d10914c@infradead.org>
Date: Sun, 6 Sep 2020 20:32:30 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Andrii Nakryiko <andriin@...com>,
Alexei Starovoitov <ast@...nel.org>,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net] netdevice.h: fix xdp_state kernel-doc warning
From: Randy Dunlap <rdunlap@...radead.org>
Fix kernel-doc warning in <linux/netdevice.h>:
../include/linux/netdevice.h:2158: warning: Function parameter or member 'xdp_state' not described in 'net_device'
Fixes: 7f0a838254bd ("bpf, xdp: Maintain info on attached XDP BPF programs in net_device")
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Andrii Nakryiko <andriin@...com>
Cc: Alexei Starovoitov <ast@...nel.org>
---
include/linux/netdevice.h | 1 +
1 file changed, 1 insertion(+)
--- lnx-59-rc4.orig/include/linux/netdevice.h
+++ lnx-59-rc4/include/linux/netdevice.h
@@ -1849,6 +1849,7 @@ enum netdev_priv_flags {
* @udp_tunnel_nic_info: static structure describing the UDP tunnel
* offload capabilities of the device
* @udp_tunnel_nic: UDP tunnel offload state
+ * @xdp_state: stores info on attached XDP BPF programs
*
* FIXME: cleanup struct net_device such that network protocol info
* moves out.
Powered by blists - more mailing lists