[PATCH net-next v2] netlabel: document doi_remove field of struct netlbl_calipso_ops

George Guo posted 1 patch 3 weeks, 6 days ago
include/net/netlabel.h | 1 +
1 file changed, 1 insertion(+)
[PATCH net-next v2] netlabel: document doi_remove field of struct netlbl_calipso_ops
Posted by George Guo 3 weeks, 6 days ago
From: George Guo <guodongtai@kylinos.cn>

Add documentation of doi_remove field to Kernel doc for struct netlbl_calipso_ops.

Flagged by ./scripts/kernel-doc -none.

Signed-off-by: George Guo <guodongtai@kylinos.cn>
---
 include/net/netlabel.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index 529160f76cac..4afd934b1238 100644
--- a/include/net/netlabel.h
+++ b/include/net/netlabel.h
@@ -208,6 +208,7 @@ struct netlbl_lsm_secattr {
  * struct netlbl_calipso_ops - NetLabel CALIPSO operations
  * @doi_add: add a CALIPSO DOI
  * @doi_free: free a CALIPSO DOI
+ * @doi_remove: remove a CALIPSO DOI
  * @doi_getdef: returns a reference to a DOI
  * @doi_putdef: releases a reference of a DOI
  * @doi_walk: enumerate the DOI list
-- 
2.39.2
Re: [PATCH net-next v2] netlabel: document doi_remove field of struct netlbl_calipso_ops
Posted by Jakub Kicinski 3 weeks, 3 days ago
On Mon, 28 Oct 2024 20:34:35 +0800 George Guo wrote:
> Add documentation of doi_remove field to Kernel doc for struct netlbl_calipso_ops.
> 
> Flagged by ./scripts/kernel-doc -none.

Okay but there are 5 other warnings in this file.
In the future please try to address all kdocs warnings in one change.
Re: [PATCH net-next v2] netlabel: document doi_remove field of struct netlbl_calipso_ops
Posted by Paul Moore 3 weeks, 6 days ago
On Mon, Oct 28, 2024 at 8:34 AM George Guo <dongtai.guo@linux.dev> wrote:
>
> From: George Guo <guodongtai@kylinos.cn>
>
> Add documentation of doi_remove field to Kernel doc for struct netlbl_calipso_ops.
>
> Flagged by ./scripts/kernel-doc -none.
>
> Signed-off-by: George Guo <guodongtai@kylinos.cn>
> ---
>  include/net/netlabel.h | 1 +
>  1 file changed, 1 insertion(+)

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

-- 
paul-moore.com