|WARNING| pw114640 [PATCH 17/21] net/softnic: add the pipeline register read/write CLI commands

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 4 19:03:17 CEST 2022


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <PRIx64>
#152: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1470:
+	snprintf(out, out_size, "0x%" PRIx64 "
", value);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 3'
#215: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1762:
+		if ((n_tokens >= 3) && !strcmp(tokens[2], "regrd")) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 3'
#220: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1767:
+		if ((n_tokens >= 3) && !strcmp(tokens[2], "regwr")) {

total: 0 errors, 0 warnings, 3 checks, 145 lines checked


More information about the test-report mailing list