[rcu:rcu/dev 111/113] drivers//iommu/amd_iommu.c:3566:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stupid_workaround'

From: kbuild test robot
Date: Thu Jun 07 2018 - 05:50:18 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev
head: e4cd9c98498575e44585e74bf2cf1b45bc42a697
commit: 7d9ca00a259aa549acd99ba91d634c62430a94ea [111/113] EXP iommu: Placeholder for fix in mainline
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
git checkout 7d9ca00a259aa549acd99ba91d634c62430a94ea
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers//iommu/amd_iommu.c:3566:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stupid_workaround'
void __maxybe_unused stupid_workaround(void)
^~~~~~~~~~~~~~~~~

vim +3566 drivers//iommu/amd_iommu.c

3565
> 3566 void __maxybe_unused stupid_workaround(void)
3567 {
3568 spin_lock(&iommu_table_lock);
3569 spin_unlock(&iommu_table_lock);
3570 }
3571

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

Attachment: .config.gz
Description: application/gzip