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 <[email protected]> Cc: Jiri Benc <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 201a088 commit d1533d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)