|WARNING| pw116063 [RFC, v1 6/6] examples: add l2fwd-graph

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 8 04:12:29 CEST 2022


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#272: FILE: examples/l2fwd-graph/main.c:177:
+	static const char *default_patterns[] = {

ERROR:C99_COMMENTS: do not use C99 // comments
#485: FILE: examples/l2fwd-graph/main.c:390:
+			//rte_graph_obj_dump(stdout, lconf->graph, true);

ERROR:C99_COMMENTS: do not use C99 // comments
#509: FILE: examples/l2fwd-graph/main.c:414:
+		//rte_graph_obj_dump(stdout, lconf->graph, true);

total: 2 errors, 1 warnings, 814 lines checked


More information about the test-report mailing list