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

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


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Fri, 22 Jun 2018 15:05:22 +0300
  • Cc: Costin Lupu <costin.lup@xxxxxxxxx>, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx, yuri.volchkov@xxxxxxxxx
  • Delivery-date: Fri, 22 Jun 2018 12:05:35 +0000
  • Ironport-phdr: 9a23:3s0PJBzDC2TWIWLXCy+O+j09IxM/srCxBDY+r6Qd2uIeIJqq85mqBkHD//Il1AaPAd2Graocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HTbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolikJKjA3/mLQhMFrkK5XvAisqwBlzoLIfI2YMud1cKPHfdMdQGpMRthcVytaAoOgbosPCfcKM+BFr4nlulsFsByzChWrBOP01j9Ih3n20bc+0+Q8CQHGwRctEM4VsHjOtNX1KbwdXfqvzKnP1DjOae5d1zTl6IXQbxwsruyAUahzfMfR00UjCR3Jg1eKpYHrJz+Zy+sAv3WB4+djVe+jkXArpg9/rzS128shhZfFi4QIwV7e7yp52pw6JdigRU5+Zt6rDYVfujmBN4tzXsMiW2ZouDsmyrEeuZ60YiwKyJM/yh7BbvyIaYmI4hb5WOmNOjd0nmpleK+kiBqo60igzfXwVsiy0FlUsipIisTAu38Q2xDJ6cWKSuFx8lm/1TuNzQze5PlIIUUumqraL54hzKQwlp0WsUnbAiD2n172jLOXdkUi4OSo7/nnYq37ppKHK4B0kRvyMrwzmsOkG+g4KA8OU3CB+eugzL3j4VH5QLJSg/IqlanZq4zaJcUdpqKjBw9Vz54j5g2wDzejytsYnH0HIEhZdxKAiojjI0vOL+zgDfejn1Ssly9mx/XHPr3nA5XNKWPDnK78crlj9U5T1g4zwMtb55JVEbEBPOnzVlX+tdPGCB81KQu0w/zoCN9lzIMRRXqPArOFMKPVqVKI/eIvLPOWZIAPvjbxMeMl6OTojX8lmV8SZ6+p0oESaH2jGPRpPVmWYX72jdgaC2sFoBc+RvTwiFKeST5Te2qyX6Uk6zEgCYKmCIDDRoa3jLyCwSe0AJtWZ2FYBVCWCnrocZuLVOsIaC2IOcBtiCILVaW5QY87yR6urBP6y6ZgLufM+iwYqIjj1Nlv6+3NkhEy8SB7D8Se02GKUWF5hWUISCEq06B7u0Ny0U2P3rZlg68QKdsG4vJPUwAhcJLR0eF+I9TzQR7aOMeEThChWNr1Lys2S4caxMQSYkA1P8i6k1iX1C2xH74T0biWHIEc+bmax2X7Ydx6nSWVnJI9hkUrF5McfVatgbRyolDe
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

From: Costin Lupu <costin.lup@xxxxxxxxx>

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));                              \
        }
-- 
2.11.0


_______________________________________________
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®.