Re: [PATCH v2] iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems

From: kbuild test robot
Date: Mon Aug 19 2019 - 02:57:07 EST

Hi Kai-Heng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc5 next-20190816]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: x86_64-randconfig-f001-201933 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
# save the attached .config to linux build tree
make ARCH=x86_64

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

All errors (new ones prefixed by >>):

>> drivers//iommu/amd_iommu_quirks.c:87:13: error: redefinition of 'amd_iommu_apply_ivrs_quirks'
void __init amd_iommu_apply_ivrs_quirks(void)
In file included from drivers//iommu/amd_iommu_quirks.c:11:0:
drivers//iommu/amd_iommu.h:11:13: note: previous definition of 'amd_iommu_apply_ivrs_quirks' was here
static void amd_iommu_apply_ivrs_quirks(void) { }
drivers//iommu/amd_iommu.h:11:13: warning: 'amd_iommu_apply_ivrs_quirks' defined but not used [-Wunused-function]

vim +/amd_iommu_apply_ivrs_quirks +87 drivers//iommu/amd_iommu_quirks.c

> 87 void __init amd_iommu_apply_ivrs_quirks(void)

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip