[dpdk-test-report] |WARNING| pw78419 [PATCH 4/8] eal: replace pci-whitelist/pci-blacklist options

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 16:34:19 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#64: 
Subject: [dpdk-dev] [PATCH 4/8] eal: replace pci-whitelist/pci-blacklist

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#64: 
Subject: [dpdk-dev] [PATCH 4/8] eal: replace pci-whitelist/pci-blacklist

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

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

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

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#122: FILE: lib/librte_eal/common/eal_common_options.c:91:
+^I{OPT_DEV_BLOCK, ^I1, NULL, OPT_DEV_BLOCK_NUM^I  },$

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

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

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

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

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#155: FILE: lib/librte_eal/common/eal_common_options.c:1429:
+			"Option -b, --blacklist is deprecated, use -x, --exclude option instead
");

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#156: FILE: lib/librte_eal/common/eal_common_options.c:1430:
+		/* fallthrough */

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#175: FILE: lib/librte_eal/common/eal_common_options.c:1444:
+			"Option -w, --whitelist is deprecated, use -i, --include option instead
");

WARNING:PREFER_FALLTHROUGH: Prefer 'fallthrough;' over fallthrough comment
#176: FILE: lib/librte_eal/common/eal_common_options.c:1445:
+		/* fallthrough */

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#243: FILE: lib/librte_eal/common/eal_options.h:23:
+#define OPT_PCI_BLACKLIST_NUM OPT_DEV_BLOCK_NUM

total: 0 errors, 15 warnings, 139 lines checked


More information about the test-report mailing list