Re: [PATCH v4 15/17] x86/hyperv: implement an MSI domain for root partition

From: kernel test robot
Date: Wed Jan 06 2021 - 17:23:10 EST


Hi Wei,

I love your patch! Perhaps something to improve:

[auto build test WARNING on e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62]

url: https://github.com/0day-ci/linux/commits/Wei-Liu/Introducing-Linux-root-partition-support-for-Microsoft-Hypervisor/20210107-044149
base: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
config: i386-randconfig-m021-20210106 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/376aee69c6ab18dc23b0386590bee82d59555be8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Wei-Liu/Introducing-Linux-root-partition-support-for-Microsoft-Hypervisor/20210107-044149
git checkout 376aee69c6ab18dc23b0386590bee82d59555be8
# save the attached .config to linux build tree
make W=1 ARCH=i386

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

All warnings (new ones prefixed by >>):

>> arch/x86/hyperv/irqdomain.c:317:28: warning: no previous prototype for 'hv_create_pci_msi_domain' [-Wmissing-prototypes]
317 | struct irq_domain * __init hv_create_pci_msi_domain(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/hv_create_pci_msi_domain +317 arch/x86/hyperv/irqdomain.c

316
> 317 struct irq_domain * __init hv_create_pci_msi_domain(void)
318 {
319 struct irq_domain *d = NULL;
320 struct fwnode_handle *fn;
321
322 fn = irq_domain_alloc_named_fwnode("HV-PCI-MSI");
323 if (fn)
324 d = pci_msi_create_irq_domain(fn, &hv_pci_msi_domain_info, x86_vector_domain);
325
326 /* No point in going further if we can't get an irq domain */
327 BUG_ON(!d);
328
329 return d;
330 }
331

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

Attachment: .config.gz
Description: application/gzip