Re: [PART2 PATCH v6 12/12] svm: Implements update_pi_irte hook to setup posted interrupt

kbuild test robot
2016-08-23T10:52:32Z

[-- Attachment #1: Type: text/plain, Size: 2390 bytes --]

Hi Suravee,

[auto build test WARNING on v4.7-rc7]
[cannot apply to iommu/next kvm/linux-next linux/master v4.8-rc2 v4.8-rc1 next-20160823]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Suravee-Suthikulpanit/iommu-AMD-Introduce-IOMMU-AVIC-support/20160819-111539
config: i386-randconfig-s0-201633 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

In file included from arch/x86/kvm/svm.c:37:0:
include/linux/amd-iommu.h:222:1: error: expected identifier or '(' before '{' token
{
^
>> include/linux/amd-iommu.h:221:1: warning: 'amd_iommu_update_ga' used but never defined
amd_iommu_update_ga(u32 cpu, u64 base, bool is_run, struct amd_ir_data *ir_data);
^~~~~~~~~~~~~~~~~~~

vim +/amd_iommu_update_ga +221 include/linux/amd-iommu.h

bda901f5 Suravee Suthikulpanit 2016-08-18 215 amd_iommu_register_ga_log_notifier(int (*notifier)(u32))
bda901f5 Suravee Suthikulpanit 2016-08-18 216 {
bda901f5 Suravee Suthikulpanit 2016-08-18 217 return 0;
bda901f5 Suravee Suthikulpanit 2016-08-18 218 }
bda901f5 Suravee Suthikulpanit 2016-08-18 219
d49c1352 Suravee Suthikulpanit 2016-08-18 220 static inline int
d49c1352 Suravee Suthikulpanit 2016-08-18 @221 amd_iommu_update_ga(u32 cpu, u64 base, bool is_run, struct amd_ir_data *ir_data);
d49c1352 Suravee Suthikulpanit 2016-08-18 @222 {
d49c1352 Suravee Suthikulpanit 2016-08-18 223 return 0;
d49c1352 Suravee Suthikulpanit 2016-08-18 224 }
d49c1352 Suravee Suthikulpanit 2016-08-18 225

:::::: The code at line 221 was first introduced by commit
:::::: d49c1352bd32284fa9619171c8a505973cf79c54 iommu/amd: Introduce amd_iommu_update_ga()

:::::: TO: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 31358 bytes --]