* [PATCH] NET: IPV4: fix error "do not initialise globals to 0"
@ 2021-09-18 9:39 wangzhitong
2021-09-19 11:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: wangzhitong @ 2021-09-18 9:39 UTC (permalink / raw)
To: paul, davem, ckuznet, yoshfuji, kuba
Cc: netdev, linux-security-module, linux-kernel, wangzhitong
this patch fixes below Errors reported by checkpatch
ERROR: do not initialise globals to 0
+int cipso_v4_rbm_optfmt = 0;
Signed-off-by: wangzhitong <wangzhitong@uniontech.com>
---
net/ipv4/cipso_ipv4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index a23094b050f8..6adeb3942c96 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -73,7 +73,7 @@ struct cipso_v4_map_cache_entry {
static struct cipso_v4_map_cache_bkt *cipso_v4_cache;
/* Restricted bitmap (tag #1) flags */
-int cipso_v4_rbm_optfmt = 0;
+int cipso_v4_rbm_optfmt;
int cipso_v4_rbm_strictvalid = 1;
/*
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NET: IPV4: fix error "do not initialise globals to 0"
2021-09-18 9:39 [PATCH] NET: IPV4: fix error "do not initialise globals to 0" wangzhitong
@ 2021-09-19 11:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-19 11:50 UTC (permalink / raw)
To: wangzhitong
Cc: paul, davem, ckuznet, yoshfuji, kuba, netdev,
linux-security-module, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sat, 18 Sep 2021 17:39:10 +0800 you wrote:
> this patch fixes below Errors reported by checkpatch
> ERROR: do not initialise globals to 0
> +int cipso_v4_rbm_optfmt = 0;
>
> Signed-off-by: wangzhitong <wangzhitong@uniontech.com>
> ---
> net/ipv4/cipso_ipv4.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- NET: IPV4: fix error "do not initialise globals to 0"
https://git.kernel.org/netdev/net-next/c/db9c8e2b1e24
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] 2+ messages in thread
end of thread, other threads:[~2021-09-19 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18 9:39 [PATCH] NET: IPV4: fix error "do not initialise globals to 0" wangzhitong
2021-09-19 11:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).