[dpdk-test-report] |WARNING| pw103975 [PATCH v5 5/9] gpudev: add memory API

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Nov 8 11:49:00 CET 2021


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

_coding style issues_


WARNING:LONG_LINE: line length of 120 exceeds 100 columns
#180: FILE: app/test-gpudev/main.c:92:
+		printf("GPU memory 0x%p + 0x700 NOT freed because of memory address not recognized by driver
", ptr_1);

WARNING:TYPO_SPELLING: 'erroneusly' may be misspelled - perhaps 'erroneously'?
#182: FILE: app/test-gpudev/main.c:94:
+		fprintf(stderr, "rte_gpu_free erroneusly freed GPU memory 0x%p + 0x700
", ptr_1);

WARNING:LONG_LINE: line length of 125 exceeds 100 columns
#228: FILE: app/test-gpudev/main.c:140:
+		printf("CPU memory 0x%p + 0x700 NOT unregistered because of memory address not recognized by driver
", ptr);

WARNING:TYPO_SPELLING: 'erroneusly' may be misspelled - perhaps 'erroneously'?
#230: FILE: app/test-gpudev/main.c:142:
+		fprintf(stderr, "rte_gpu_free erroneusly freed GPU memory 0x%p + 0x700
", ptr);

ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#367: FILE: lib/gpudev/gpudev.c:553:
+	switch (ret) {
+		case 0:
[...]
+		case -ENOMEM:
+		case -E2BIG:
[...]
+		default:

total: 1 errors, 4 warnings, 412 lines checked


More information about the test-report mailing list