|WARNING| pw144073 [PATCH v2] net/sxe: add net driver sxe again

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 16 11:55:08 CEST 2024


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

_coding style issues_


CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#158: FILE: drivers/net/sxe/pf/sxe_filter.c:85:
+	LOG_DEBUG("default mac addr = "MAC_FMT"
", addr[0], addr[1], addr[2],

ERROR:SPACING: space required after that ',' (ctx:VxV)
#230: FILE: drivers/net/sxe/pf/sxe_filter.c:408:
+			addr[3],addr[4], addr[5]);
 			       ^

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#521: FILE: drivers/net/sxe/sxe_testpmd.c:163:
+	if (strcmp(res->action, "on") == 0) {
[...]
+	} else {
[...]

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#527: FILE: drivers/net/sxe/sxe_testpmd.c:169:
+
+}

total: 1 errors, 1 warnings, 2 checks, 509 lines checked
Warning in drivers/net/sxe/sxe_testpmd.c:
Writing to stdout or stderr


More information about the test-report mailing list