automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw114637 [PATCH 14/21] net/softnic: add pipeline selector table CLI commands
       [not found] <20220804165839.1074817-15-cristian.dumitrescu@intel.com>
@ 2022-08-04 17:03 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-04 17:03 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 6'
#561: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1423:
+		if ((n_tokens >= 6) &&
+			!strcmp(tokens[2], "selector") &&
+			!strcmp(tokens[4], "group") &&
+			!strcmp(tokens[5], "add")) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 6'
#570: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1432:
+		if ((n_tokens >= 6) &&
+			!strcmp(tokens[2], "selector") &&
+			!strcmp(tokens[4], "group") &&
+			!strcmp(tokens[5], "delete")) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 7'
#579: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1441:
+		if ((n_tokens >= 7) &&
+			!strcmp(tokens[2], "selector") &&
+			!strcmp(tokens[4], "group") &&
+			!strcmp(tokens[5], "member") &&
+			!strcmp(tokens[6], "add")) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 7'
#589: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1451:
+		if ((n_tokens >= 7) &&
+			!strcmp(tokens[2], "selector") &&
+			!strcmp(tokens[4], "group") &&
+			!strcmp(tokens[5], "member") &&
+			!strcmp(tokens[6], "delete")) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 5'
#599: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:1461:
+		if ((n_tokens >= 5) &&
+			!strcmp(tokens[2], "selector") &&
+			!strcmp(tokens[4], "show")) {

total: 0 errors, 0 warnings, 5 checks, 529 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-04 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220804165839.1074817-15-cristian.dumitrescu@intel.com>
2022-08-04 17:03 ` |WARNING| pw114637 [PATCH 14/21] net/softnic: add pipeline selector table CLI commands checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).