tree:
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head: fce7d470d0dd8960fb8fff2c6adcdea7646a85a9
commit: cefc7ca46235f01d5233e3abd4b79452af01d9e9 [105/112] ACPI: PRM: implement
OperationRegion handler for the PlatformRtMechanism subtype
config: x86_64-randconfig-s022-20210611 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commi...
git remote add pm
https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
git fetch --no-tags pm bleeding-edge
git checkout cefc7ca46235f01d5233e3abd4b79452af01d9e9
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/acpi/prmt.c:53:1: sparse: sparse: symbol
'prm_module_list' was not declared. Should it be static?
vim +/prm_module_list +53 drivers/acpi/prmt.c
51
52
53 LIST_HEAD(prm_module_list);
54
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org