[dpdk-test-report] |WARNING| pw86085 [PATCH v2 1/6] net/iavf_be: introduce iavf backend driver
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Jan 7 08:29:39 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/86085
_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, 391 lines checked
Warning in drivers/net/iavf_be/iavf_be_ethdev.c:
Using rte_atomicNN_xxx
More information about the test-report
mailing list