Re: [PATCH] acpi: apei-base: fix sparse warnings

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

 



Hi Garrit,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on pm/linux-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Garrit-Franke/acpi-apei-base-fix-sparse-warnings/20200611-003136
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-a012-20200621 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   ld: arch/x86/pci/mmconfig-shared.o: in function `pci_mmcfg_early_init':
>> arch/x86/pci/mmconfig-shared.c:671: undefined reference to `arch_apei_filter_addr'
>> ld: arch/x86/pci/mmconfig-shared.c:671: undefined reference to `arch_apei_filter_addr'
>> ld: arch/x86/pci/mmconfig-shared.c:671: undefined reference to `arch_apei_filter_addr'

vim +671 arch/x86/pci/mmconfig-shared.c

574a59414083df Jiang Liu  2012-06-22  661  
bb63b4219976d4 Yinghai Lu 2008-02-28  662  void __init pci_mmcfg_early_init(void)
05c58b8ac77639 Yinghai Lu 2008-02-15  663  {
574a59414083df Jiang Liu  2012-06-22  664  	if (pci_probe & PCI_PROBE_MMCONF) {
574a59414083df Jiang Liu  2012-06-22  665  		if (pci_mmcfg_check_hostbridge())
574a59414083df Jiang Liu  2012-06-22  666  			known_bridge = 1;
574a59414083df Jiang Liu  2012-06-22  667  		else
574a59414083df Jiang Liu  2012-06-22  668  			acpi_sfi_table_parse(ACPI_SIG_MCFG, pci_parse_mcfg);
bb63b4219976d4 Yinghai Lu 2008-02-28  669  		__pci_mmcfg_init(1);
d91525eb8ee6a6 Chen, Gong 2014-12-10  670  
d91525eb8ee6a6 Chen, Gong 2014-12-10 @671  		set_apei_filter();
05c58b8ac77639 Yinghai Lu 2008-02-15  672  	}
574a59414083df Jiang Liu  2012-06-22  673  }
05c58b8ac77639 Yinghai Lu 2008-02-15  674  

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