[dpdk-test-report] |WARNING| pw100810 [PATCH v2 02/11] bus/vmbus: scan and get the network device

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 8 13:00:42 CEST 2021


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

_coding style issues_

Must be a reply to the first patch (--in-reply-to).


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#359: FILE: drivers/bus/vmbus/freebsd/vmbus_bus.c:372:
+#define UNPACK(x)						 \
+	do {							 \
+		x = strdup(walker);				 \
+		if (x == NULL)					 \
+			return -ENOMEM;				 \
+		if (walker + strnlen(walker, ep - walker) >= ep) \
+			return -EINVAL;				 \
+		walker += strlen(walker) + 1;			 \
+	} while (0)

WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email name mismatch: 'From: srikanth-oc <srikanth.k at oneconvergence.com>' != 'Signed-off-by: Srikanth Kaka <srikanth.k at oneconvergence.com>'

total: 0 errors, 2 warnings, 0 checks, 305 lines checked


More information about the test-report mailing list