* [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate()
@ 2021-05-18 9:11 Zheng Yejian
2021-05-18 14:46 ` Paul Moore
2021-05-18 20:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Zheng Yejian @ 2021-05-18 9:11 UTC (permalink / raw)
To: paul; +Cc: netdev, zhangjinhao2, yuehaibing
Since cipso_v4_cache_invalidate() has no return value, so drop
related descriptions in its comments.
Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine")
Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com>
---
net/ipv4/cipso_ipv4.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index bfaf327e9d12..d6e3a92841e3 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -187,8 +187,7 @@ static int __init cipso_v4_cache_init(void)
* cipso_v4_cache_invalidate - Invalidates the current CIPSO cache
*
* Description:
- * Invalidates and frees any entries in the CIPSO cache. Returns zero on
- * success and negative values on failure.
+ * Invalidates and frees any entries in the CIPSO cache.
*
*/
void cipso_v4_cache_invalidate(void)
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate()
2021-05-18 9:11 [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate() Zheng Yejian
@ 2021-05-18 14:46 ` Paul Moore
2021-05-18 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Paul Moore @ 2021-05-18 14:46 UTC (permalink / raw)
To: Zheng Yejian; +Cc: netdev, zhangjinhao2, yuehaibing
On Tue, May 18, 2021 at 5:05 AM Zheng Yejian <zhengyejian1@huawei.com> wrote:
>
> Since cipso_v4_cache_invalidate() has no return value, so drop
> related descriptions in its comments.
>
> Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine")
> Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com>
> ---
> net/ipv4/cipso_ipv4.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Thanks for catching this.
Acked-by: Paul Moore <paul@paul-moore.com>
> diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
> index bfaf327e9d12..d6e3a92841e3 100644
> --- a/net/ipv4/cipso_ipv4.c
> +++ b/net/ipv4/cipso_ipv4.c
> @@ -187,8 +187,7 @@ static int __init cipso_v4_cache_init(void)
> * cipso_v4_cache_invalidate - Invalidates the current CIPSO cache
> *
> * Description:
> - * Invalidates and frees any entries in the CIPSO cache. Returns zero on
> - * success and negative values on failure.
> + * Invalidates and frees any entries in the CIPSO cache.
> *
> */
> void cipso_v4_cache_invalidate(void)
> --
> 2.17.1
--
paul moore
www.paul-moore.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate()
2021-05-18 9:11 [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate() Zheng Yejian
2021-05-18 14:46 ` Paul Moore
@ 2021-05-18 20:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-05-18 20:50 UTC (permalink / raw)
To: Zheng Yejian; +Cc: paul, netdev, zhangjinhao2, yuehaibing
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 18 May 2021 17:11:41 +0800 you wrote:
> Since cipso_v4_cache_invalidate() has no return value, so drop
> related descriptions in its comments.
>
> Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine")
> Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com>
> ---
> net/ipv4/cipso_ipv4.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Here is the summary with links:
- [net-next] cipso: correct comments of cipso_v4_cache_invalidate()
https://git.kernel.org/netdev/net-next/c/4ac9e23cf2cc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-18 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 9:11 [PATCH net-next] cipso: correct comments of cipso_v4_cache_invalidate() Zheng Yejian
2021-05-18 14:46 ` Paul Moore
2021-05-18 20:50 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.