[dpdk-test-report] |WARNING| pw70914 [RFC v2 26/26] eal: mark old naming as deprecated

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 10 09:56:08 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#101: FILE: lib/librte_eal/include/rte_launch.h:79:
+#define SKIP_MASTER _Pragma("GCC warning \"'SKIP_MASTER' is deprecated\"") SKIP_INITIAL

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#102: FILE: lib/librte_eal/include/rte_launch.h:80:
+#define CALL_MASTER _Pragma("GCC warning \"'CALL_MASTER' is deprecated\"") CALL_INITIAL

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#123: FILE: lib/librte_eal/include/rte_lcore.h:220:
+#define RTE_LCORE_FOREACH_SLAVE(x)					\
+	_Pragma("GCC warning \"'RTE_LCORE_FOREACH_SLAVE' macro is deprecated\"") \
 	RTE_LCORE_FOREACH_WORKER(x)

total: 3 errors, 0 warnings, 26 lines checked


More information about the test-report mailing list