[dpdk-test-report] |WARNING| pw85501 [PATCH v1 1/5] net/iavf_be: introduce iavf backend driver

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Dec 19 09:07:55 CET 2020


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#151: FILE: drivers/net/iavf_be/iavf_be_ethdev.c:24:
+static const char *iavfbe_valid_arg[] = {

CHECK:BRACES: braces {} should be used on all arms of this statement
#402: FILE: drivers/net/iavf_be/iavf_be_ethdev.c:275:
+	if (rte_kvargs_count(kvlist, AVFBE_MAC_ARG) == 1) {
[...]
+	} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#407: FILE: drivers/net/iavf_be/iavf_be_ethdev.c:280:
+	} else

total: 0 errors, 1 warnings, 2 checks, 392 lines checked
Warning in drivers/net/iavf_be/iavf_be_ethdev.c:
Using rte_atomicNN_xxx


More information about the test-report mailing list