[sudeep-holla:wip/acpi_ffh_opregion 2/3] drivers/acpi/bus.c:301:6: sparse: sparse: symbol 'osc_sb_ffh_opregion_support_confirmed' was not declared. Should it be static?
From: kernel test robot
Date: Thu Jun 16 2022 - 09:36:12 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git wip/acpi_ffh_opregion
head: aca46ad097a20fee2f395f051d575d323c15ffff
commit: 42de507063eebc8c7d728fbac4012e35c8b854df [2/3] ACPI: Implement a generic FFH Opregion handler
config: i386-randconfig-s001 (https://download.01.org/0day-ci/archive/20220616/202206162156.TTEhmMTa-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-30-g92122700-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?id=42de507063eebc8c7d728fbac4012e35c8b854df
git remote add sudeep-holla https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
git fetch --no-tags sudeep-holla wip/acpi_ffh_opregion
git checkout 42de507063eebc8c7d728fbac4012e35c8b854df
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/acpi/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
sparse warnings: (new ones prefixed by >>)
>> drivers/acpi/bus.c:301:6: sparse: sparse: symbol 'osc_sb_ffh_opregion_support_confirmed' was not declared. Should it be static?
--
0-DAY CI Kernel Test Service
https://01.org/lkp