From ae8ee4c1e43af131088bb2da1163fdb864f6f6a2 Mon Sep 17 00:00:00 2001 From: kernel test robot Date: Thu, 3 Jun 2021 23:39:36 +0800 Subject: [PATCH] platform/x86: dell-wmi-sysman: fw_attr_inuse can be static drivers/platform/x86/firmware_attributes_class.c:11:5: warning: symbol 'fw_attr_inuse' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot Link: https://lore.kernel.org/r/20210603153936.GA65404@7832cb195c0b Signed-off-by: Hans de Goede --- drivers/platform/x86/firmware_attributes_class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/firmware_attributes_class.c b/drivers/platform/x86/firmware_attributes_class.c index d62ec3d..fafe8ea 100644 --- a/drivers/platform/x86/firmware_attributes_class.c +++ b/drivers/platform/x86/firmware_attributes_class.c @@ -8,7 +8,7 @@ #include "firmware_attributes_class.h" static DEFINE_MUTEX(fw_attr_lock); -int fw_attr_inuse; +static int fw_attr_inuse; static struct class firmware_attributes_class = { .name = "firmware-attributes", -- 2.7.4