|WARNING| pw119642 [PATCH 06/14] test: fix whitespace
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Nov 9 20:17:23 CET 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119642
_coding style issues_
ERROR:SPACING: space required before the open brace '{'
#132: FILE: app/test/test_debug.c:56:
+ if (status == 0){
ERROR:SPACING: space required before the open brace '{'
#141: FILE: app/test/test_debug.c:87:
+ if (!WIFEXITED(status) || WEXITSTATUS(status) != (uint8_t)exit_val){
ERROR:SPACING: space required before the open parenthesis '('
#154: FILE: app/test/test_hash.c:75:
+} while(0)
ERROR:SPACING: space prohibited after that open parenthesis '('
#198: FILE: app/test/test_malloc.c:90:
+ if ( *(char *)p1 != 0) {
ERROR:SPACING: space prohibited after that open parenthesis '('
#209: FILE: app/test/test_malloc.c:161:
+ if ( *(char *)p1 != 0) {
WARNING:BRACES: braces {} are not necessary for single statement blocks
#255: FILE: app/test/test_mbuf.c:157:
+ if (m) {
rte_pktmbuf_free(m);
}
total: 5 errors, 1 warnings, 159 lines checked
More information about the test-report
mailing list