|WARNING| pw114639 [PATCH 16/21] net/softnic: add pipeline commit and abort CLI commands

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


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

_coding style issues_


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

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

total: 0 errors, 0 warnings, 2 checks, 82 lines checked


More information about the test-report mailing list