[dpdk-test-report] |WARNING| pw92982 [PATCH v5 1/3] bus/pci: set PCI master in command register

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 6 06:12:00 CEST 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/92982

_coding style issues_


WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#47: 
Subject: [dpdk-dev] [PATCH v5 1/3] bus/pci: set PCI master in command

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#63: 
Add the API to set 'Bus Master Enable' bit to be enabled or disabled in

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#84: FILE: drivers/bus/pci/pci_common.c:750:
+rte_pci_set_bus_master(struct rte_pci_device *dev, bool enable)

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#95: FILE: drivers/bus/pci/pci_common.c:761:
+		cmd = old_cmd | RTE_PCI_COMMAND_MASTER;

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#97: FILE: drivers/bus/pci/pci_common.c:763:
+		cmd = old_cmd & ~RTE_PCI_COMMAND_MASTER;

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#123: FILE: drivers/bus/pci/rte_bus_pci.h:253:
+ * Enables/Disables Bus Master for device's PCI command register.

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#128: FILE: drivers/bus/pci/rte_bus_pci.h:258:
+ *    Enable or disable Bus Master.

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#134: FILE: drivers/bus/pci/rte_bus_pci.h:264:
+int rte_pci_set_bus_master(struct rte_pci_device *dev, bool enable);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#149: FILE: drivers/bus/pci/version.map:26:
+	rte_pci_set_bus_master;

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#162: FILE: lib/pci/rte_pci.h:38:
+#define RTE_PCI_COMMAND_MASTER	0x4	/* Bus Master Enable */

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#162: FILE: lib/pci/rte_pci.h:38:
+#define RTE_PCI_COMMAND_MASTER	0x4	/* Bus Master Enable */

total: 0 errors, 11 warnings, 71 lines checked


More information about the test-report mailing list