|WARNING| pw113781 [PATCH] lib: Check for the NULL pointer after calling malloc

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jul 7 11:25:49 CEST 2022


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#87: FILE: lib/node/ethdev_ctrl.c:78:
+			if (elem == NULL) {
+				return -ENOMEM;
+			}

total: 0 errors, 1 warnings, 9 lines checked


More information about the test-report mailing list