aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2023-07-13 21:51:25 -0700
committerJakub Kicinski <[email protected]>2023-07-14 20:39:29 -0700
commitd1533d726aa1efca3a7ae8f40c94ccb149d22e6a (patch)
tree27b906e23f72d8c54198b09bb69d888342f98f62
parent201a08830d8c4698f97ce65329ba92e36b7f402a (diff)
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: 1f0b7744c505 ("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]>
-rw-r--r--include/net/nsh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/nsh.h b/include/net/nsh.h
index 350b1ad11c7f..16a751093896 100644
--- 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];