NET: IPV4: fix error "do not initialise globals to 0"
Subsystems (4)
PATCH 1/1 NET: IPV4: fix error "do not initialise globals to 0"
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 <[email protected]>
--- net/ipv4/cipso_ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/cipso_ipv4.c +1 -1
@@ -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 ;/*
Signature · 1 line
2.20.1
This patch was applied to netdev/net-next.git (refs/heads/master):
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
Quoted 8 lines · 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 +intcipso_v4_rbm_optfmt= 0;Signed-off-by wangzhitong <[email protected]>--- 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