automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw114633 [PATCH 09/21] net/softnic: remove unused text parsing functions
       [not found] <20220804165839.1074817-10-cristian.dumitrescu@intel.com>
@ 2022-08-04 17:01 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-04 17:01 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'string == NULL'
#732: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:55:
+	if ((string == NULL) ||
+		(tokens == NULL) ||
+		(*n_tokens < 1))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tokens == NULL'
#732: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:55:
+	if ((string == NULL) ||
+		(tokens == NULL) ||
+		(*n_tokens < 1))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'i == *n_tokens'
#743: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:66:
+	if ((i == *n_tokens) && strtok_r(string, PARSE_DELIMITER, &string))

total: 0 errors, 0 warnings, 3 checks, 117 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-10-cristian.dumitrescu@intel.com>
2022-08-04 17:01 ` |WARNING| pw114633 [PATCH 09/21] net/softnic: remove unused text parsing functions 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).