automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw44647 net/e1000: correct queue number in RSS configuration
       [not found] <1536822383-52153-1-git-send-email-beilei.xing@intel.com>
@ 2018-09-13  7:08 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-13  7:08 UTC (permalink / raw)
  To: test-report; +Cc: Beilei Xing

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type == e1000_82576'
#74: FILE: drivers/net/e1000/igb_flow.c:1361:
+	if (((hw->mac.type == e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM_82576)) ||
+	    ((hw->mac.type != e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->queue_num > IGB_MAX_RX_QUEUE_NUM_82576'
#74: FILE: drivers/net/e1000/igb_flow.c:1361:
+	if (((hw->mac.type == e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM_82576)) ||
+	    ((hw->mac.type != e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->mac.type != e1000_82576'
#74: FILE: drivers/net/e1000/igb_flow.c:1361:
+	if (((hw->mac.type == e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM_82576)) ||
+	    ((hw->mac.type != e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM)))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'rss->queue_num > IGB_MAX_RX_QUEUE_NUM'
#74: FILE: drivers/net/e1000/igb_flow.c:1361:
+	if (((hw->mac.type == e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM_82576)) ||
+	    ((hw->mac.type != e1000_82576) &&
+	     (rss->queue_num > IGB_MAX_RX_QUEUE_NUM)))

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

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

only message in thread, other threads:[~2018-09-13  7:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1536822383-52153-1-git-send-email-beilei.xing@intel.com>
2018-09-13  7:08 ` [dpdk-test-report] |WARNING| pw44647 net/e1000: correct queue number in RSS configuration 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).