Message ID | 20230714045127.18752-8-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d1533d726aa1efca3a7ae8f40c94ccb149d22e6a |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: fix kernel-doc problems in include/net/ | expand |
diff -- a/include/net/nsh.h b/include/net/nsh.h --- a/include/net/nsh.h +++ b/include/net/nsh.h @@ -192,7 +192,7 @@ /** * struct nsh_md1_ctx - Keeps track of NSH context data - * @nshc<1-4>: NSH Contexts. + * @context: NSH Contexts. */ struct nsh_md1_ctx { __be32 context[4];
Use the struct member's name and the correct format to prevent a kernel-doc warning. nsh.h:200: warning: Function parameter or member 'context' not described in 'nsh_md1_ctx' Fixes: 1f0b7744c505 ("net: add NSH header structures and helpers") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: Jiri Benc <jbenc@redhat.com> --- v2: drop Cc: Yi Yang <yi.y.yang@intel.com> include/net/nsh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)