Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a75afd47 authored by Daniel Baluta's avatar Daniel Baluta Committed by Marc Kleine-Budde
Browse files

can: fix sparse warning for cgw_list



Make cgw_list static to remove the following sparse warning:
net/can/gw.c:69:1: warning: symbol 'cgw_list' was not declared.
Should it be static?

Signed-off-by: default avatarDaniel Baluta <dbaluta@ixiacom.com>
Acked-by: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent f4f9f6e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Oliver Hartkopp <oliver.hartkopp@volkswagen.de>");
MODULE_ALIAS("can-gw");

HLIST_HEAD(cgw_list);
static HLIST_HEAD(cgw_list);
static struct notifier_block notifier;

static struct kmem_cache *cgw_cache __read_mostly;