Thread (5 messages) 5 messages, 3 authors, 2021-10-13

RE: [EXTERNAL] Re: [PATCH v2 1/2] PCI: hv: Make the code arch neutral

flat view

From: Sunil Muthuswamy <hidden>
Date: 2021-10-13 19:44:58
Also in: linux-pci, lkml

On Tuesday, October 12, 2021 11:06 PM,
Boqun Feng [off-list ref] wrote:
As reported by Baihua (I can also reproduce), compile errors are hit
when compiling with CONFIG_PCI_HYPERV=m:

ERROR: modpost: missing MODULE_LICENSE() in drivers/pci/controller/pci-
hyperv-irqchip.o
ERROR: modpost: "hv_msi_prepare" [drivers/pci/controller/pci-hyperv.ko]
undefined!
ERROR: modpost: "hv_pci_irqchip_init" [drivers/pci/controller/pci-hyperv.ko]
undefined!
ERROR: modpost: "hv_pci_irqchip_free" [drivers/pci/controller/pci-hyperv.ko]
undefined!
ERROR: modpost: "hv_msi_get_int_vector" [drivers/pci/controller/pci-
hyperv.ko] undefined!
ERROR: modpost: "hv_set_msi_entry_from_desc" [drivers/pci/controller/pci-
hyperv.ko] undefined!

It means that we MODULE_LICENSE() should be added in
pci-hyperv-irqchip.c, also these symbols should be exported.
Thanks for catching this. Will fix in v3.

- Sunil
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help