[dpdk-test-report] |WARNING| pw72690 [PATCH v4 25/27] eal: mark old naming as deprecated

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 1 22:29:45 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#102: 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
#103: 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
#124: 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