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 7EA5C45C18 for ; Thu, 31 Oct 2024 02:42:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73C0E4353B; Thu, 31 Oct 2024 02:42:29 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C069C433A9 for ; Thu, 31 Oct 2024 02:42:28 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id B7DA5121E2B; Thu, 31 Oct 2024 02:42:28 +0100 (CET) Subject: |WARNING| pw147848 [PATCH] net/ice: enable link speed 200G In-Reply-To: <20241031011819.2020557-1-mingjinx.ye@intel.com> References: <20241031011819.2020557-1-mingjinx.ye@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Mingjin Ye Message-Id: <20241031014228.B7DA5121E2B@dpdk.org> Date: Thu, 31 Oct 2024 02:42:28 +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/147848 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'phy_type' - possible side-effects? #129: FILE: drivers/net/ice/ice_ethdev.h:744: +#define ICE_PHY_TYPE_SUPPORT_200G_HIGH(phy_type) \ + (((phy_type) & ICE_PHY_TYPE_HIGH_200G_CR4_PAM4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_SR4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_FR4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_LR4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_DR4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_KR4_PAM4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI4_AOC_ACC) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI4) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI8_AOC_ACC) || \ + ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI8)) total: 0 errors, 0 warnings, 1 checks, 53 lines checked