|WARNING| pw106072 [PATCH] mempool: test performance with constant n

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 19 12:37:58 CET 2022


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for any arm of this statement
#223: FILE: app/test/test_mempool_perf.c:184:
+		if (n_get_bulk > 0) {
[...]
+		} else if (n_get_bulk == -1) {
[...]
+		} else if (n_get_bulk == -4) {
[...]
+		} else if (n_get_bulk == -(int)CACHE_LINE_BURST) {
[...]
+		} else if (n_get_bulk == -32) {
[...]
+		} else {
[...]

total: 0 errors, 1 warnings, 215 lines checked


More information about the test-report mailing list