[dpdk-test-report] |WARNING| pw82052 [PATCH v5 1/5] eal: replace usage of blacklist/whitelist in enum

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Oct 24 03:03:53 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#65: 
Subject: [dpdk-dev] [PATCH v5 1/5] eal: replace usage of blacklist/whitelist

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#65: 
Subject: [dpdk-dev] [PATCH v5 1/5] eal: replace usage of blacklist/whitelist

WARNING:TYPO_SPELLING: 'blacklist' may be misspelled - perhaps 'blocklist'?
#85: 
The old names relating to blacklist and whitelist are replaced

WARNING:TYPO_SPELLING: 'whitelist' may be misspelled - perhaps 'allowlist'?
#85: 
The old names relating to blacklist and whitelist are replaced

WARNING:TYPO_SPELLING: 'WHITELIST' may be misspelled - perhaps 'ALLOWLIST'?
#148: FILE: lib/librte_eal/include/rte_bus.h:223:
+#define RTE_BUS_SCAN_WHITELIST \

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#148: FILE: lib/librte_eal/include/rte_bus.h:223:
+#define RTE_BUS_SCAN_WHITELIST \
+	RTE_DEPRECATED(RTE_BUS_SCAN_WHITELIST) RTE_BUS_SCAN_ALLOWLIST

WARNING:TYPO_SPELLING: 'WHITELIST' may be misspelled - perhaps 'ALLOWLIST'?
#149: FILE: lib/librte_eal/include/rte_bus.h:224:
+	RTE_DEPRECATED(RTE_BUS_SCAN_WHITELIST) RTE_BUS_SCAN_ALLOWLIST

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#150: FILE: lib/librte_eal/include/rte_bus.h:225:
+#define RTE_BUS_SCAN_BLACKLIST \

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#150: FILE: lib/librte_eal/include/rte_bus.h:225:
+#define RTE_BUS_SCAN_BLACKLIST \
+	RTE_DEPRECATED(RTE_BUS_SCAN_BLACKLIST) RTE_BUS_SCAN_BLOCKLIST

WARNING:TYPO_SPELLING: 'BLACKLIST' may be misspelled - perhaps 'BLOCKLIST'?
#151: FILE: lib/librte_eal/include/rte_bus.h:226:
+	RTE_DEPRECATED(RTE_BUS_SCAN_BLACKLIST) RTE_BUS_SCAN_BLOCKLIST

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#171: FILE: lib/librte_eal/include/rte_dev.h:60:
+#define RTE_DEV_WHITELISTED \
+	RTE_DEPRECATED(RTE_DEV_WHITELISTED) RTE_DEV_ALLOWED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#173: FILE: lib/librte_eal/include/rte_dev.h:62:
+#define RTE_DEV_BLACKLISTED \
+	RTE_DEPRECATED(RTE_DEV_BLACKLISTED) RTE_DEV_BLOCKED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#195: FILE: lib/librte_eal/include/rte_devargs.h:38:
+#define RTE_DEVTYPE_WHITELISTED_PCI \
+	RTE_DEPRECATED(RTE_DEVTYPE_WHITELISTED_PCI) RTE_DEVTYPE_ALLOWED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#197: FILE: lib/librte_eal/include/rte_devargs.h:40:
+#define RTE_DEVTYPE_BLACKLISTED_PCI \
+	RTE_DEPRECATED(RTE_DEVTYPE_BLACKLISTED_PCI) RTE_DEVTYPE_BLOCKED

total: 6 errors, 8 warnings, 82 lines checked


More information about the test-report mailing list