[dpdk-test-report] |WARNING| pw99257 [PATCH v2 7/7] bus/pci: remove ABIs in PCI bus
checkpatch at dpdk.org
checkpatch at dpdk.org
Sat Sep 18 04:41:31 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/99257
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#493: FILE: drivers/bus/pci/pci_driver.h:96:
+#define RTE_PCI_DEVICE(vend, dev) \
+ RTE_CLASS_ANY_ID, \
+ (vend), \
+ (dev), \
+ RTE_PCI_ANY_ID, \
+ RTE_PCI_ANY_ID
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#644: FILE: drivers/bus/pci/pci_driver.h:247:
+ * Enables/Disables Bus Master for device's PCI command register.
WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#649: FILE: drivers/bus/pci/pci_driver.h:252:
+ * Enable or disable Bus Master.
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#655: FILE: drivers/bus/pci/pci_driver.h:258:
+int rte_pci_set_bus_master(struct rte_pci_device *dev, bool enable);
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#668: FILE: drivers/bus/pci/pci_driver.h:271:
+#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__)
WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1262: FILE: drivers/bus/pci/version.map:29:
+ rte_pci_set_bus_master;
total: 2 errors, 4 warnings, 1833 lines checked
More information about the test-report
mailing list