Re: [PART2 PATCH v6 07/12] iommu/amd: Introduce amd_iommu_update_ga()

kbuild test robot
2016-08-22T06:01:21Z

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

Hi Suravee,

[auto build test ERROR on v4.7-rc7]
[also build test ERROR on next-20160819]
[cannot apply to iommu/next kvm/linux-next linux/master v4.8-rc2 v4.8-rc1]
[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: x86_64-randconfig-x018-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=x86_64

All errors (new ones prefixed by >>):

In file included from drivers/iommu/amd_iommu.c:33:0:
>> include/linux/amd-iommu.h:208:1: error: expected identifier or '(' before '{' token
{
^
include/linux/amd-iommu.h:207:1: warning: 'amd_iommu_update_ga' declared 'static' but never defined [-Wunused-function]
amd_iommu_update_ga(u32 cpu, u64 base, bool is_run, struct amd_ir_data *ir_data);
^~~~~~~~~~~~~~~~~~~

vim +208 include/linux/amd-iommu.h

202 {
203 return 0;
204 }
205
206 static inline int
207 amd_iommu_update_ga(u32 cpu, u64 base, bool is_run, struct amd_ir_data *ir_data);
> 208 {
209 return 0;
210 }
211

---
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: 26798 bytes --]