Netdev Archive on
help / color / mirror / Atom feed
From: Randy Dunlap <>
To: "" <>,
	David Miller <>,
	Andrii Nakryiko <>,
	Alexei Starovoitov <>,
	Jakub Kicinski <>
Subject: [PATCH net] netdevice.h: fix xdp_state kernel-doc warning
Date: Sun, 6 Sep 2020 20:32:30 -0700	[thread overview]
Message-ID: <> (raw)

From: Randy Dunlap <>

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 <>
Cc: Andrii Nakryiko <>
Cc: Alexei Starovoitov <>
 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.

             reply	other threads:[~2020-09-07  3:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07  3:32 Randy Dunlap [this message]
2020-09-07 19:50 ` [PATCH net] netdevice.h: fix xdp_state kernel-doc warning Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).