|WARNING| pw136752 [v8 2/3] net/af_xdp: fix multi interface support for K8s

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Feb 14 17:08:12 CET 2024


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#486: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:2150:
+    strlcpy(internals->dp_path, dp_path, PATH_MAX);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#503: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:2341:
+    char dp_path[PATH_MAX] = {''};$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#526: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:2407:
+    if (!use_cni && strnlen(dp_path, PATH_MAX)) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 16)
#526: FILE: drivers/net/af_xdp/rte_eth_af_xdp.c:2407:
+    if (!use_cni && strnlen(dp_path, PATH_MAX)) {
+		AF_XDP_LOG(ERR, "'%s' parameter is set, but '%s' was not enabled
",

total: 0 errors, 4 warnings, 0 checks, 374 lines checked


More information about the test-report mailing list