automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw37229 [PATCH v4 10/17] net/axgbe: add transmit and receive data path apis
       [not found] <1522910389-35530-10-git-send-email-Ravi1.kumar@amd.com>
@ 2018-04-05  6:41 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-05  6:41 UTC (permalink / raw)
  To: test-report; +Cc: Ravi Kumar

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L3_CSUM_ERR'
#243: FILE: drivers/net/axgbe/axgbe_rxtx.c:249:
+			if ((error_status != AXGBE_L3_CSUM_ERR) &&
+			    (error_status != AXGBE_L4_CSUM_ERR)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'error_status != AXGBE_L4_CSUM_ERR'
#243: FILE: drivers/net/axgbe/axgbe_rxtx.c:249:
+			if ((error_status != AXGBE_L3_CSUM_ERR) &&
+			    (error_status != AXGBE_L4_CSUM_ERR)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_STOPPED'
#385: FILE: drivers/net/axgbe/axgbe_rxtx.c:475:
+		if ((tx_status == DMA_TPS_STOPPED) ||
+		    (tx_status == DMA_TPS_SUSPENDED))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'tx_status == DMA_TPS_SUSPENDED'
#385: FILE: drivers/net/axgbe/axgbe_rxtx.c:475:
+		if ((tx_status == DMA_TPS_STOPPED) ||
+		    (tx_status == DMA_TPS_SUSPENDED))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_TCP_CKSUM'
#491: FILE: drivers/net/axgbe/axgbe_rxtx.c:581:
+	if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'mask == PKT_TX_UDP_CKSUM'
#491: FILE: drivers/net/axgbe/axgbe_rxtx.c:581:
+	if ((mask == PKT_TX_TCP_CKSUM) || (mask == PKT_TX_UDP_CKSUM))

total: 0 errors, 0 warnings, 6 checks, 634 lines checked

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

only message in thread, other threads:[~2018-04-05  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1522910389-35530-10-git-send-email-Ravi1.kumar@amd.com>
2018-04-05  6:41 ` [dpdk-test-report] |WARNING| pw37229 [PATCH v4 10/17] net/axgbe: add transmit and receive data path apis 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).