[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210918093910.31127-1-wangzhitong@uniontech.com>
Date: Sat, 18 Sep 2021 17:39:10 +0800
From: wangzhitong <wangzhitong@...ontech.com>
To: paul@...l-moore.com, davem@...emloft.net, ckuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org, kuba@...nel.org
Cc: netdev@...r.kernel.org, linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org,
wangzhitong <wangzhitong@...ontech.com>
Subject: [PATCH] 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 <wangzhitong@...ontech.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
Powered by blists - more mailing lists