diff mbox series

[bpf-next] net: add missing xdp_features description

Message ID bec12badf6eea84c426bb51f1eb249b2e8c6a421.1675679509.git.lorenzo@kernel.org (mailing list archive)
State Superseded
Delegated to: BPF
Headers show
Series [bpf-next] net: add missing xdp_features description | expand

Checks

Context Check Description
netdev/tree_selection success Clearly marked for bpf-next, async
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix success Link
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 4353 this patch: 4353
netdev/cc_maintainers fail 2 blamed authors not CCed: hawk@kernel.org memxor@gmail.com; 3 maintainers not CCed: memxor@gmail.com hawk@kernel.org john.fastabend@gmail.com
netdev/build_clang success Errors and warnings before: 1023 this patch: 1023
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 4563 this patch: 4563
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/kdoc success Errors and warnings before: 1 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Lorenzo Bianconi Feb. 6, 2023, 10:34 a.m. UTC
Add missing xdp_features field description in the struct net_device
documentation. This patch fix the following warning:

./include/linux/netdevice.h:2375: warning: Function parameter or member 'xdp_features' not described in 'net_device'

Fixes: d3d854fd6a1d ("netdev-genl: create a simple family for netdev stuff")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Lorenzo Bianconi Feb. 6, 2023, 5:51 p.m. UTC | #1
> Add missing xdp_features field description in the struct net_device
> documentation. This patch fix the following warning:

Hi all,

Please drop this version, I will post a v2 to fix indentation.

Regards,
Lorenzo

> 
> ./include/linux/netdevice.h:2375: warning: Function parameter or member 'xdp_features' not described in 'net_device'
> 
> Fixes: d3d854fd6a1d ("netdev-genl: create a simple family for netdev stuff")
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  include/linux/netdevice.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
> index 0f7967591288..645787259172 100644
> --- a/include/linux/netdevice.h
> +++ b/include/linux/netdevice.h
> @@ -1819,6 +1819,7 @@ enum netdev_ml_priv_type {
>   *			of Layer 2 headers.
>   *
>   *	@flags:		Interface flags (a la BSD)
> +*	@xdp_features:	XDP capability supported by the device
>   *	@priv_flags:	Like 'flags' but invisible to userspace,
>   *			see if.h for the definitions
>   *	@gflags:	Global flags ( kept as legacy )
> -- 
> 2.39.1
>
diff mbox series

Patch

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 0f7967591288..645787259172 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1819,6 +1819,7 @@  enum netdev_ml_priv_type {
  *			of Layer 2 headers.
  *
  *	@flags:		Interface flags (a la BSD)
+*	@xdp_features:	XDP capability supported by the device
  *	@priv_flags:	Like 'flags' but invisible to userspace,
  *			see if.h for the definitions
  *	@gflags:	Global flags ( kept as legacy )