|WARNING| pw122109 [PATCH 1/7] test: fix whitespace

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 16 18:28:47 CET 2023


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

_coding style issues_


ERROR:SPACING: space required before the open brace '{'
#108: FILE: app/test/test_debug.c:56:
+	if (status == 0){

ERROR:SPACING: space required before the open brace '{'
#117: FILE: app/test/test_debug.c:87:
+	if (!WIFEXITED(status) || WEXITSTATUS(status) != (uint8_t)exit_val){

ERROR:SPACING: space prohibited after that open parenthesis '('
#161: FILE: app/test/test_malloc.c:90:
+			if ( *(char *)p1 != 0) {

ERROR:SPACING: space prohibited after that open parenthesis '('
#170: FILE: app/test/test_malloc.c:161:
+			if ( *(char *)p1 != 0) {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#216: FILE: app/test/test_mbuf.c:157:
+	if (m) {
 		rte_pktmbuf_free(m);
 	}

total: 4 errors, 1 warnings, 132 lines checked


More information about the test-report mailing list