diff mbox series

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

Message ID 20241028123435.3495916-1-dongtai.guo@linux.dev (mailing list archive)
State Handled Elsewhere
Headers show
Series [net-next,v2] netlabel: document doi_remove field of struct netlbl_calipso_ops | expand

Commit Message

George Guo Oct. 28, 2024, 12:34 p.m. UTC
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(+)

Comments

Paul Moore Oct. 28, 2024, 4:36 p.m. UTC | #1
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>
Jakub Kicinski Nov. 1, 2024, 2:02 a.m. UTC | #2
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.
patchwork-bot+netdevbpf@kernel.org Nov. 1, 2024, 2:10 a.m. UTC | #3
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 28 Oct 2024 20:34:35 +0800 you 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>
> 
> [...]

Here is the summary with links:
  - [net-next,v2] netlabel: document doi_remove field of struct netlbl_calipso_ops
    https://git.kernel.org/netdev/net-next/c/d86c7a9162ae

You are awesome, thank you!
diff mbox series

Patch

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