diff options
author | YueHaibing | 2019-03-20 21:35:05 +0800 |
---|---|---|
committer | Corey Minyard | 2019-04-17 13:14:25 -0500 |
commit | 794a3b6b9f8af8a23bf127d8ec1cd1234ef3fb17 (patch) | |
tree | e26470ea82a05c54e9d29a33351e219a434a3fc6 /drivers/char | |
parent | fe5cdef29e41c8bda8cd1a11545e7c6bfe25570e (diff) |
ipmi: Make ipmi_interfaces_srcu variable static
Fix sparse warning:
drivers/char/ipmi/ipmi_msghandler.c:635:20: warning:
symbol 'ipmi_interfaces_srcu' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Message-Id: <20190320133505.21984-1-yuehaibing@huawei.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 00bf4b17edbf..421f86104593 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -635,7 +635,7 @@ static DEFINE_MUTEX(ipmidriver_mutex); static LIST_HEAD(ipmi_interfaces); static DEFINE_MUTEX(ipmi_interfaces_mutex); -struct srcu_struct ipmi_interfaces_srcu; +static struct srcu_struct ipmi_interfaces_srcu; /* * List of watchers that want to know when smi's are added and deleted. |