[pm:bleeding-edge 105/112] drivers/acpi/prmt.c:53:1: sparse: sparse: symbol 'prm_module_list' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/commit/?id=cefc7ca46235f01d5233e3abd4b79452af01d9e9
        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@xxxxxxxxx>


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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux