From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2CBC46156 for ; Fri, 31 Jan 2025 14:02:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB19942DB4; Fri, 31 Jan 2025 14:02:03 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D703842DCD for ; Fri, 31 Jan 2025 14:02:02 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id B4AC0127003; Fri, 31 Jan 2025 14:00:58 +0100 (CET) Subject: |WARNING| pw150717 [PATCH v1 06/42] net/e1000/base: add LTR support in i225 In-Reply-To: <0ba8b622e01876dc7f63c93cdda637182eaeae9a.1738328107.git.anatoly.burakov@intel.com> References: <0ba8b622e01876dc7f63c93cdda637182eaeae9a.1738328107.git.anatoly.burakov@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Anatoly Burakov Message-Id: <20250131130058.B4AC0127003@dpdk.org> Date: Fri, 31 Jan 2025 14:00:58 +0100 (CET) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/150717 _coding style issues_ CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hw->phy.media_type == e1000_media_type_copper' #161: FILE: drivers/net/intel/e1000/base/e1000_i225.c:933: + if ((hw->phy.media_type == e1000_media_type_copper) && + !(hw->dev_spec._i225.eee_disable) && + (speed != SPEED_10)) { CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'speed != SPEED_10' #161: FILE: drivers/net/intel/e1000/base/e1000_i225.c:933: + if ((hw->phy.media_type == e1000_media_type_copper) && + !(hw->dev_spec._i225.eee_disable) && + (speed != SPEED_10)) { total: 0 errors, 0 warnings, 2 checks, 253 lines checked