From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id F2C014CBB; Thu, 13 Sep 2018 09:08:35 +0200 (CEST) In-Reply-To: <1536822383-52153-1-git-send-email-beilei.xing@intel.com> References: <1536822383-52153-1-git-send-email-beilei.xing@intel.com> To: test-report@dpdk.org Cc: Beilei Xing Message-Id: <20180913070835.F2C014CBB@dpdk.org> Date: Thu, 13 Sep 2018 09:08:35 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw44647 net/e1000: correct queue number in RSS configuration X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 07:08:36 -0000 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