[dpdk-test-report] |WARNING| pw82119 [PATCH v7 3/5] eal: replace pci-whitelist/pci-blacklist options

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Oct 25 21:59:57 CET 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#65: 
Subject: [dpdk-dev] [PATCH v7 3/5] eal: replace pci-whitelist/pci-blacklist

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#65: 
Subject: [dpdk-dev] [PATCH v7 3/5] eal: replace pci-whitelist/pci-blacklist

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#81: 
Replace -w / --pci-whitelist with -a / --allow options

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#82: 
and --pci-blacklist with --block.

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#114: FILE: lib/librte_eal/common/eal_common_options.c:67:
+	"w:" /* whitelist (deprecated) */

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#115: FILE: lib/librte_eal/common/eal_common_options.c:68:
+	"B:" /* blacklist (deprecated) */

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#136: FILE: lib/librte_eal/common/eal_common_options.c:112:
+	{OPT_PCI_BLACKLIST,     1, NULL, OPT_PCI_BLACKLIST_NUM    },

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#136: FILE: lib/librte_eal/common/eal_common_options.c:112:
+	{OPT_PCI_BLACKLIST,     1, NULL, OPT_PCI_BLACKLIST_NUM    },

WARNING:TYPO_SPELLING: 'WHITELIST' may be misspelled - perhaps 'ALLOWLIST'?
#137: FILE: lib/librte_eal/common/eal_common_options.c:113:
+	{OPT_PCI_WHITELIST,     1, NULL, OPT_PCI_WHITELIST_NUM    },

WARNING:TYPO_SPELLING: 'WHITELIST' may be misspelled - perhaps 'ALLOWLIST'?
#137: FILE: lib/librte_eal/common/eal_common_options.c:113:
+	{OPT_PCI_WHITELIST,     1, NULL, OPT_PCI_WHITELIST_NUM    },

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#153: FILE: lib/librte_eal/common/eal_common_options.c:1463:
+			"Option --pci-blacklist is deprecated, use -b, --block instead
");

WARNING:BRACES: braces {} are not necessary for single statement blocks
#163: FILE: lib/librte_eal/common/eal_common_options.c:1469:
+		if (eal_option_device_add(RTE_DEVTYPE_BLOCKED, optarg) < 0) {
 			return -1;
 		}

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#172: FILE: lib/librte_eal/common/eal_common_options.c:1477:
+			"Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
");

WARNING:BRACES: braces {} are not necessary for single statement blocks
#181: FILE: lib/librte_eal/common/eal_common_options.c:1483:
+		if (eal_option_device_add(RTE_DEVTYPE_ALLOWED, optarg) < 0) {
 			return -1;
 		}

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#242: FILE: lib/librte_eal/common/eal_options.h:23:
+	OPT_PCI_BLACKLIST_NUM  = 'B',

total: 0 errors, 15 warnings, 136 lines checked


More information about the test-report mailing list