Skip to contentSkip to conversation

net: netlabel: Fix kerneldoc warnings

PATCH In review Andrew Lunn 2 participants 2 messages Oct 28, 2020 – Oct 29, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: netlabel: Fix kerneldoc warnings

net/netlabel/netlabel_calipso.c:376: warning: Function parameter or member 'ops' not described in 'netlbl_calipso_ops_register'

---
 net/netlabel/netlabel_calipso.c | 1 +
 1 file changed, 1 insertion(+)
net/netlabel/netlabel_calipso.c +1 -0
index 4e62f2ad3575..a4efa99fb1f8 100644
@@ -366,6 +366,7 @@ static const struct netlbl_calipso_ops *calipso_ops;
 
 /**
  * netlbl_calipso_ops_register - Register the CALIPSO operations
+ * @ops: Ops to register
  *
  * Description:
  * Register the CALIPSO packet engine operations.
Signature · 1 line
2.28.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Andrew Lunn

net/netlabel/netlabel_calipso.c:376: warning: Function parameter or member 'ops' not described in 'netlbl_calipso_ops_register'

---
 net/netlabel/netlabel_calipso.c | 1 +
 1 file changed, 1 insertion(+)
net/netlabel/netlabel_calipso.c +0 -0
index 4e62f2ad3575..a4efa99fb1f8 100644

net/netlabel/netlabel_calipso.c static const struct netlbl_calipso_ops *calipso_ops; · line 369

Quoted 4 lines
net/netlabel/netlabel_calipso.c +1 -0
@@ -366,6 +366,7 @@ static const struct netlbl_calipso_ops *calipso_ops;
 
 /**
  * netlbl_calipso_ops_register - Register the CALIPSO operations
+ * @ops: Ops to register

If we are being nitpicky, it might be better to drop the capitalization for the sake of consistency, e.g. "@ops: ops to register".

Quoted 3 lines
net/netlabel/netlabel_calipso.c +0 -0
  *
  * Description:
  * Register the CALIPSO packet engine operations.
Signature · 2 lines
paul moore
www.paul-moore.com