Re: [PATCH 1/3] hyperv: Move hv_pci_dev and related structs to hyperv.h

From: kbuild test robot
Date: Thu Dec 08 2016 - 04:53:33 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-randconfig-x012-201649 (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/hid/hid-hyperv.c:22:0:
>> include/linux/hyperv.h:1660:25: error: field 'msi_info' has incomplete type
struct msi_domain_info msi_info;
^~~~~~~~

vim +/msi_info +1660 include/linux/hyperv.h

1654 struct semaphore enum_sem;
1655 struct list_head resources_for_children;
1656
1657 struct list_head children;
1658 struct list_head dr_list;
1659
> 1660 struct msi_domain_info msi_info;
1661 struct msi_controller msi_chip;
1662 struct irq_domain *irq_domain;
1663 };

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

Attachment: .config.gz
Description: application/gzip