[dpdk-test-report] |WARNING| pw68050 [PATCH dpdk-dev 2/2] mempool: use shared memzone for rte_mempool_ops

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Apr 9 12:55:57 CEST 2020


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

_coding style issues_


ERROR:INITIALISED_STATIC: do not initialise statics to false
#213: FILE: lib/librte_mempool/rte_mempool_ops.c:22:
+	static bool mempool_shared_ops_inited = false;

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#215: FILE: lib/librte_mempool/rte_mempool_ops.c:24:
+	const struct rte_memzone* mz;

ERROR:SPACING: space required before the open parenthesis '('
#253: FILE: lib/librte_mempool/rte_mempool_ops.c:58:
+		if(!strcmp(name, shared_ops->mempool_ops[ops_index].name)) {

ERROR:SPACING: space prohibited before that '++' (ctx:WxO)
#258: FILE: lib/librte_mempool/rte_mempool_ops.c:63:
+		ops_index ++;
 		          ^

ERROR:SPACING: space prohibited before that '++' (ctx:WxO)
#264: FILE: lib/librte_mempool/rte_mempool_ops.c:69:
+	shared_ops->num_mempool_ops ++;
 	                            ^

total: 5 errors, 0 warnings, 168 lines checked


More information about the test-report mailing list