Re: [PATCH 1/3] hyperv: Move hv_pci_dev and related structs to hyperv.h
From: kbuild test robot
Date: Thu Dec 08 2016 - 06:16:57 EST
Hi Haiyang,
[auto build test ERROR on next-20161208]
[also build test ERROR on v4.9-rc8]
[cannot apply to linus/master linux/master pci/next v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/kys-exchange-microsoft-com/hyperv-Move-hv_pci_dev-and-related-structs-to-hyperv-h/20161208-171643
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from drivers/input/serio/hyperv-keyboard.c:18:0:
>> include/linux/hyperv.h:1654:19: error: field 'enum_sem' has incomplete type
struct semaphore enum_sem;
^~~~~~~~
vim +/enum_sem +1654 include/linux/hyperv.h
1648 struct completion remove_event;
1649 struct pci_bus *pci_bus;
1650 spinlock_t config_lock; /* Avoid two threads writing index page */
1651 spinlock_t device_list_lock; /* Protect lists below */
1652 void __iomem *cfg_addr;
1653
> 1654 struct semaphore enum_sem;
1655 struct list_head resources_for_children;
1656
1657 struct list_head children;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip