|WARNING| pw115495 [PATCH v4 16/27] bus/pci: make driver-only headers private
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Aug 26 14:46:03 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/115495
_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
--- a/doc/guides/rel_notes/release_22_11.rst
+++ b/doc/guides/rel_notes/release_22_11.rst
More information about the test-report
mailing list