diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 14:35:05 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2019-04-17 20:14:25 +0200 |
commit | 794a3b6b9f8af8a23bf127d8ec1cd1234ef3fb17 (patch) | |
tree | e26470ea82a05c54e9d29a33351e219a434a3fc6 /drivers/char | |
parent | Merge tag 'for-linus-5.1-2' of git://github.com/cminyard/linux-ipmi (diff) | |
download | linux-794a3b6b9f8af8a23bf127d8ec1cd1234ef3fb17.tar.xz linux-794a3b6b9f8af8a23bf127d8ec1cd1234ef3fb17.zip |
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. |