[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH v2] plat/common: Minor fix for pci_bus.h





On 06/22/2018 02:06 PM, Costin Lupu wrote:
Minor fix for properly evaluating expressions using the
PCI_REGISTER_DRIVER macro.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
  plat/common/include/pci/pci_bus.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plat/common/include/pci/pci_bus.h 
b/plat/common/include/pci/pci_bus.h
index b03bcfd..01385c7 100644
--- a/plat/common/include/pci/pci_bus.h
+++ b/plat/common/include/pci/pci_bus.h
@@ -163,7 +163,7 @@ UK_TAILQ_HEAD(pci_device_list, struct pci_device);
#define _PCI_REGISTER_DRIVER(libname, b) \
        static void __constructor_prio(103)                             \
-       PCI_REGFNNAME(libname, _pci_register_driver)(void)              \
+       _PCI_REGFNNAME(libname, _pci_register_driver)(void)             \
        {                                                               \
                _pci_register_driver((b));                              \
        }


Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>

Thanks & Regards
Sharan Santhanam

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.