automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31092 [PATCH] net/enic: fix TSO for packets greater than 9208 bytes
       [not found] <20171102015908.6953-1-johndale@cisco.com>
@ 2017-11-02  2:00 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-02  2:00 UTC (permalink / raw)
  To: test-report; +Cc: John Daley

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pkt_len > ENIC_TX_MAX_PKT_SIZE'
#71: FILE: drivers/net/enic/enic_rxtx.c:570:
+		if (unlikely(!tso && (pkt_len > ENIC_TX_MAX_PKT_SIZE))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'header_len == 0'
#90: FILE: drivers/net/enic/enic_rxtx.c:599:
+			if (unlikely((header_len == 0) || ((tx_pkt->tso_segsz +
+			    header_len) > ENIC_TX_MAX_PKT_SIZE))) {

total: 0 errors, 0 warnings, 2 checks, 54 lines checked

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

only message in thread, other threads:[~2017-11-02  2:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20171102015908.6953-1-johndale@cisco.com>
2017-11-02  2:00 ` [dpdk-test-report] |WARNING| pw31092 [PATCH] net/enic: fix TSO for packets greater than 9208 bytes 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).