|WARNING| pw115856 [PATCH v5 16/27] bus/pci: make driver-only headers private
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Sep 5 10:43:23 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/115856
_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
More information about the test-report
mailing list