From: Greg Kroah-Hartman Date: Mon, 6 Dec 2021 13:27:54 +0000 (+0100) Subject: 5.10-stable patches X-Git-Tag: v4.4.294~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eafc608fd69cd0cf613e372ea666982f955dc715;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: ipmi-msghandler-make-symbol-remove_work_wq-static.patch --- diff --git a/queue-5.10/ipmi-msghandler-make-symbol-remove_work_wq-static.patch b/queue-5.10/ipmi-msghandler-make-symbol-remove_work_wq-static.patch new file mode 100644 index 00000000000..4c582ddb77c --- /dev/null +++ b/queue-5.10/ipmi-msghandler-make-symbol-remove_work_wq-static.patch @@ -0,0 +1,38 @@ +From 5a3ba99b62d8486de0316334e72ac620d4b94fdd Mon Sep 17 00:00:00 2001 +From: Wei Yongjun +Date: Tue, 23 Nov 2021 08:36:18 +0000 +Subject: ipmi: msghandler: Make symbol 'remove_work_wq' static + +From: Wei Yongjun + +commit 5a3ba99b62d8486de0316334e72ac620d4b94fdd upstream. + +The sparse tool complains as follows: + +drivers/char/ipmi/ipmi_msghandler.c:194:25: warning: + symbol 'remove_work_wq' was not declared. Should it be static? + +This symbol is not used outside of ipmi_msghandler.c, so +marks it static. + +Fixes: 1d49eb91e86e ("ipmi: Move remove_work to dedicated workqueue") +Reported-by: Hulk Robot +Signed-off-by: Wei Yongjun +Message-Id: <20211123083618.2366808-1-weiyongjun1@huawei.com> +Signed-off-by: Corey Minyard +Signed-off-by: Greg Kroah-Hartman +--- + drivers/char/ipmi/ipmi_msghandler.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/char/ipmi/ipmi_msghandler.c ++++ b/drivers/char/ipmi/ipmi_msghandler.c +@@ -203,7 +203,7 @@ struct ipmi_user { + struct work_struct remove_work; + }; + +-struct workqueue_struct *remove_work_wq; ++static struct workqueue_struct *remove_work_wq; + + static struct ipmi_user *acquire_ipmi_user(struct ipmi_user *user, int *index) + __acquires(user->release_barrier) diff --git a/queue-5.10/series b/queue-5.10/series index aa25da4e443..a1eec32623e 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -127,3 +127,4 @@ serial-8250-fix-rts-modem-control-while-in-rs485-mode.patch iwlwifi-mvm-retry-init-flow-if-failed.patch parisc-mark-cr16-cpu-clocksource-unstable-on-all-smp-machines.patch net-tls-fix-authentication-failure-in-ccm-mode.patch +ipmi-msghandler-make-symbol-remove_work_wq-static.patch