aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorwangzhitong <wangzhitong@uniontech.com>2021-09-18 17:39:10 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-19 12:43:56 +0100
commitdb9c8e2b1e246fc2dc20828932949437793146cc (patch)
tree63aa61228e6b84238b5a19642a47f90f17268eb0 /net/ipv4/cipso_ipv4.c
parentnet: net_namespace: Fix undefined member in key_remove_domain() (diff)
downloadwireguard-linux-db9c8e2b1e246fc2dc20828932949437793146cc.tar.xz
wireguard-linux-db9c8e2b1e246fc2dc20828932949437793146cc.zip
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@uniontech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r--net/ipv4/cipso_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index 099259fc826a..62d5f99760aa 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;
/*