automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw40828 [PATCH 02/21] net/softnic: add software queue object
       [not found] <20180608124155.140663-3-jasvinder.singh@intel.com>
@ 2018-06-08 14:19 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-08 14:19 UTC (permalink / raw)
  To: test-report; +Cc: Jasvinder Singh

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

_coding style issues_


WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#148: FILE: drivers/net/softnic/rte_eth_softnic_swq.c:1:
+/* SPDX-License-Identifier: BSD-3-Clause

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'name == NULL'
#210: FILE: drivers/net/softnic/rte_eth_softnic_swq.c:63:
+	if ((name == NULL) ||
+		swq_find(p, name) ||
+		(params == NULL) ||
+		(params->size == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'params == NULL'
#210: FILE: drivers/net/softnic/rte_eth_softnic_swq.c:63:
+	if ((name == NULL) ||
+		swq_find(p, name) ||
+		(params == NULL) ||
+		(params->size == 0))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'params->size == 0'
#210: FILE: drivers/net/softnic/rte_eth_softnic_swq.c:63:
+	if ((name == NULL) ||
+		swq_find(p, name) ||
+		(params == NULL) ||
+		(params->size == 0))

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#221: FILE: drivers/net/softnic/rte_eth_softnic_swq.c:74:
+	r = rte_ring_create(

total: 0 errors, 1 warnings, 4 checks, 194 lines checked

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

only message in thread, other threads:[~2018-06-08 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180608124155.140663-3-jasvinder.singh@intel.com>
2018-06-08 14:19 ` [dpdk-test-report] |WARNING| pw40828 [PATCH 02/21] net/softnic: add software queue object 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).