Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20210603153936.GA65404@7832cb195c0b
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

kernel test robot and committed by
Hans de Goede
ae8ee4c1 14227ce9

+1 -1
+1 -1
drivers/platform/x86/firmware_attributes_class.c
··· 8 8 #include "firmware_attributes_class.h" 9 9 10 10 static DEFINE_MUTEX(fw_attr_lock); 11 - int fw_attr_inuse; 11 + static int fw_attr_inuse; 12 12 13 13 static struct class firmware_attributes_class = { 14 14 .name = "firmware-attributes",