|WARNING| pw140016 [PATCH] graph: fix does not return the unique id when create graph

checkpatch at dpdk.org checkpatch at dpdk.org
Fri May 10 08:29:22 CEST 2024


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

_coding style issues_


ERROR:INITIALISED_STATIC: do not initialise statics to 0
#155: FILE: lib/graph/graph.c:242:
+	static rte_graph_t graph_id = 0;

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#399: FILE: lib/graph/graph.c:753:
+	} else if ((graph = graph_find_by_id(id))) {

total: 2 errors, 0 warnings, 291 lines checked


More information about the test-report mailing list