diff mbox series

[net-next] net: netlabel: Fix kerneldoc warnings

Message ID 20201028005350.930299-1-andrew@lunn.ch
State New
Headers show
Series [net-next] net: netlabel: Fix kerneldoc warnings | expand

Commit Message

Andrew Lunn Oct. 28, 2020, 12:53 a.m. UTC
net/netlabel/netlabel_calipso.c:376: warning: Function parameter or member 'ops' not described in 'netlbl_calipso_ops_register'

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
 net/netlabel/netlabel_calipso.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Paul Moore Oct. 28, 2020, 1:01 a.m. UTC | #1
On Tue, Oct 27, 2020 at 8:54 PM Andrew Lunn <andrew@lunn.ch> wrote:
>
> net/netlabel/netlabel_calipso.c:376: warning: Function parameter or member 'ops' not described in 'netlbl_calipso_ops_register'
>
> Signed-off-by: Andrew Lunn <andrew@lunn.ch>
> ---
>  net/netlabel/netlabel_calipso.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/net/netlabel/netlabel_calipso.c b/net/netlabel/netlabel_calipso.c
> index 4e62f2ad3575..a4efa99fb1f8 100644
> --- a/net/netlabel/netlabel_calipso.c
> +++ b/net/netlabel/netlabel_calipso.c
> @@ -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".

Acked-by: Paul Moore <paul@paul-moore.com>

>   *
>   * Description:
>   * Register the CALIPSO packet engine operations.
diff mbox series

Patch

diff --git a/net/netlabel/netlabel_calipso.c b/net/netlabel/netlabel_calipso.c
index 4e62f2ad3575..a4efa99fb1f8 100644
--- a/net/netlabel/netlabel_calipso.c
+++ b/net/netlabel/netlabel_calipso.c
@@ -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.