* |WARNING| pw116287 [PATCH v6 16/27] bus/pci: make driver-only headers private
[not found] <20220914075841.51555-17-david.marchand@redhat.com>
@ 2022-09-14 8:02 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-09-14 8:02 UTC (permalink / raw)
To: test-report; +Cc: David Marchand
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/116287
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#434: FILE: drivers/bus/pci/bus_pci_driver.h:63:
+#define RTE_PCI_DEVICE(vend, dev) \
+ RTE_CLASS_ANY_ID, \
+ (vend), \
+ (dev), \
+ RTE_PCI_ANY_ID, \
+ RTE_PCI_ANY_ID
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#538: FILE: drivers/bus/pci/bus_pci_driver.h:167:
+#define RTE_PMD_REGISTER_PCI(nm, pci_drv) \
+RTE_INIT(pciinitfn_ ##nm) \
+{\
+ (pci_drv).driver.name = RTE_STR(nm);\
+ rte_pci_register(&pci_drv); \
+} \
+RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
total: 2 errors, 0 warnings, 1496 lines checked
^ permalink raw reply [flat|nested] only message in thread