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

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

_coding style issues_


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

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

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

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

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

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

only message in thread, other threads:[~2022-08-04 17:01 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-14-cristian.dumitrescu@intel.com>
2022-08-04 17:00 ` |WARNING| pw114636 [PATCH 13/21] net/softnic: add pipeline 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).