[tglx-devel:msi 12/89] arch/x86/include/asm/xen/hypervisor.h:78:2: error: #endif without #if

From: kernel test robot
Date: Wed Nov 17 2021 - 16:59:09 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git msi
head: 4c0c122f742a15b3fee04b234e1fb4191621a92f
commit: a02e7f1f4c62ac9f216a9c5bce702d4258e321ef [12/89] PCI/MSI: Make arch_restore_msi_irqs() less horrible.
config: x86_64-rhel-8.3-func (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git/commit/?id=a02e7f1f4c62ac9f216a9c5bce702d4258e321ef
git remote add tglx-devel https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git
git fetch --no-tags tglx-devel msi
git checkout a02e7f1f4c62ac9f216a9c5bce702d4258e321ef
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iommu/ fs/

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

All errors (new ones prefixed by >>):

In file included from arch/x86/include/asm/hypervisor.h:39,
from drivers/iommu/hyperv-iommu.c:22:
>> arch/x86/include/asm/xen/hypervisor.h:78:2: error: #endif without #if
78 | #endif /* _ASM_X86_XEN_HYPERVISOR_H */
| ^~~~~


vim +78 arch/x86/include/asm/xen/hypervisor.h

767216796cb9ae Juergen Gross 2021-10-06 77
05e4d3169bd162 H. Peter Anvin 2008-10-23 @78 #endif /* _ASM_X86_XEN_HYPERVISOR_H */

:::::: The code at line 78 was first introduced by commit
:::::: 05e4d3169bd16229d84a2ef095e1ba2cd3873baa x86: drop double underscores from header guards

:::::: TO: H. Peter Anvin <hpa@xxxxxxxxx>
:::::: CC: H. Peter Anvin <hpa@xxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip