From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id A3A121D008; Fri, 6 Apr 2018 14:37:51 +0200 (CEST) In-Reply-To: <1523018211-65765-6-git-send-email-Ravi1.kumar@amd.com> References: <1523018211-65765-6-git-send-email-Ravi1.kumar@amd.com> To: test-report@dpdk.org Cc: Ravi Kumar Message-Id: <20180406123751.A3A121D008@dpdk.org> Date: Fri, 6 Apr 2018 14:37:51 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw37366 [PATCH v5 06/18] net/axgbe: add phy programming apis 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: Fri, 06 Apr 2018 12:37:52 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/37366 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #536: FILE: drivers/net/axgbe/axgbe_mdio.c:469: + if (!(pdata->phy.advertising & ADVERTISED_1000baseKX_Full) && CHECK:CAMELCASE: Avoid CamelCase: #537: FILE: drivers/net/axgbe/axgbe_mdio.c:470: + !(pdata->phy.advertising & ADVERTISED_2500baseX_Full)) CHECK:CAMELCASE: Avoid CamelCase: #545: FILE: drivers/net/axgbe/axgbe_mdio.c:478: + if (!(pdata->phy.advertising & ADVERTISED_10000baseKR_Full)) CHECK:CAMELCASE: Avoid CamelCase: #683: FILE: drivers/net/axgbe/axgbe_mdio.c:616: + if (advertising & ADVERTISED_10000baseR_FEC) CHECK:CAMELCASE: Avoid CamelCase: #707: FILE: drivers/net/axgbe/axgbe_mdio.c:640: + if (advertising & ADVERTISED_Pause) CHECK:CAMELCASE: Avoid CamelCase: #712: FILE: drivers/net/axgbe/axgbe_mdio.c:645: + if (advertising & ADVERTISED_Asym_Pause) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'pdata->phy.autoneg != AUTONEG_ENABLE' #892: FILE: drivers/net/axgbe/axgbe_mdio.c:825: + if ((pdata->phy.autoneg != AUTONEG_ENABLE) || pdata->parallel_detect) CHECK:CAMELCASE: Avoid CamelCase: #1273: FILE: drivers/net/axgbe/axgbe_phy_impl.c:459: + pdata->phy.advertising &= ~ADVERTISED_Autoneg; CHECK:CAMELCASE: Avoid CamelCase: #1276: FILE: drivers/net/axgbe/axgbe_phy_impl.c:462: + pdata->phy.advertising &= ~ADVERTISED_100baseT_Full; CHECK:CAMELCASE: Avoid CamelCase: #1277: FILE: drivers/net/axgbe/axgbe_phy_impl.c:463: + pdata->phy.advertising &= ~ADVERTISED_1000baseT_Full; CHECK:CAMELCASE: Avoid CamelCase: #1278: FILE: drivers/net/axgbe/axgbe_phy_impl.c:464: + pdata->phy.advertising &= ~ADVERTISED_10000baseT_Full; CHECK:CAMELCASE: Avoid CamelCase: #1647: FILE: drivers/net/axgbe/axgbe_phy_impl.c:833: + pdata->phy.lp_advertising |= ADVERTISED_Backplane; CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'phy_data->port_mode == AXGBE_PORT_MODE_SFP' #1923: FILE: drivers/net/axgbe/axgbe_phy_impl.c:1109: + if ((phy_data->port_mode == AXGBE_PORT_MODE_SFP) && + (phy_data->sfp_base != AXGBE_SFP_BASE_1000_CX) && + (phy_data->sfp_base != AXGBE_SFP_BASE_10000_CR)) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'phy_data->sfp_base != AXGBE_SFP_BASE_1000_CX' #1923: FILE: drivers/net/axgbe/axgbe_phy_impl.c:1109: + if ((phy_data->port_mode == AXGBE_PORT_MODE_SFP) && + (phy_data->sfp_base != AXGBE_SFP_BASE_1000_CX) && + (phy_data->sfp_base != AXGBE_SFP_BASE_10000_CR)) CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'phy_data->sfp_base != AXGBE_SFP_BASE_10000_CR' #1923: FILE: drivers/net/axgbe/axgbe_phy_impl.c:1109: + if ((phy_data->port_mode == AXGBE_PORT_MODE_SFP) && + (phy_data->sfp_base != AXGBE_SFP_BASE_1000_CX) && + (phy_data->sfp_base != AXGBE_SFP_BASE_10000_CR)) total: 0 errors, 0 warnings, 15 checks, 2428 lines checked