automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw70982 [PATCH v2 10/10] eal: mark old macros for blacklist/whitelist as deprecated
       [not found] <20200608192546.7160-11-stephen@networkplumber.org>
@ 2020-06-10  7:57 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-06-10  7:57 UTC (permalink / raw)
  To: test-report; +Cc: Stephen Hemminger

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#99: FILE: lib/librte_eal/include/rte_bus.h:222:
+#define RTE_BUS_SCAN_WHITELIST  \
+	_Pragma("GCC warning \"'RTE_BUS_SCAN_WHITELIST' macro is deprecated.\"") \
+	RTE_BUS_SCAN_ALLOWLIST

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#103: FILE: lib/librte_eal/include/rte_bus.h:226:
+#define RTE_BUS_SCAN_BLACKLIST	\
+	_Pragma("GCC warning \"'RTE_BUS_SCAN_BLACKLIST' macro is deprecated.\"") \
+	RTE_BUS_SCAN_BLOCKLIST

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#120: FILE: lib/librte_eal/include/rte_dev.h:77:
+#define RTE_DEV_WHITELISTED \
+	_Pragma("GCC warning \"'RTE_DEV_WHITELISTED' macro is deprecated.\"") \
+	RTE_DEV_ALLOWED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#124: FILE: lib/librte_eal/include/rte_dev.h:81:
+#define RTE_DEV_BLACKLISTED \
+	_Pragma("GCC warning \"'RTE_DEV_BLACKLISTED' macro is deprecated.\"") \
+	RTE_DEV_BLOCKED

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#141: FILE: lib/librte_eal/include/rte_devargs.h:37:
+#define RTE_DEVTYPE_WHITELISTED_PCI \
+	_Pragma("GCC warning \"'RTE_DEVTYPE_WHITELISTED_PCI' macro is deprecated.\"") \
+	RTE_DEVTYPE_ALLOWED_PCI

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#145: FILE: lib/librte_eal/include/rte_devargs.h:41:
+#define RTE_DEVTYPE_BLACKLISTED_PCI \
+	_Pragma("GCC warning \"'RTE_DEVTYPE_BLACKLISTED_PCI' macro is deprecated.\"") \
+	RTE_DEVTYPE_BLOCKED_PCI

total: 6 errors, 0 warnings, 48 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-10  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200608192546.7160-11-stephen@networkplumber.org>
2020-06-10  7:57 ` [dpdk-test-report] |WARNING| pw70982 [PATCH v2 10/10] eal: mark old macros for blacklist/whitelist as deprecated checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).