Skip to content

Commit d1533d7

Browse files
rddunlapkuba-moo
authored andcommitted
net: NSH: fix kernel-doc notation warning
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: 1f0b774 ("net: add NSH header structures and helpers") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jiri Benc <jbenc@redhat.com> Link: https://lore.kernel.org/r/20230714045127.18752-8-rdunlap@infradead.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 201a088 commit d1533d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/net/nsh.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192

193193
/**
194194
* struct nsh_md1_ctx - Keeps track of NSH context data
195-
* @nshc<1-4>: NSH Contexts.
195+
* @context: NSH Contexts.
196196
*/
197197
struct nsh_md1_ctx {
198198
__be32 context[4];

0 commit comments

Comments
 (0)