* [dpdk-test-report] |WARNING| pw99257 [PATCH v2 7/7] bus/pci: remove ABIs in PCI bus
[not found] <20210918022443.12719-8-chenbo.xia@intel.com>
@ 2021-09-18 2:41 ` checkpatch
2021-09-18 3:40 ` [dpdk-test-report] |SUCCESS| pw99257 [dpdk-dev] " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2021-09-18 2:41 UTC (permalink / raw)
To: test-report; +Cc: Chenbo Xia
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
^ permalink raw reply [flat|nested] 2+ messages in thread