From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id AB3151B16C; Fri, 5 Jan 2018 10:54:11 +0100 (CET) In-Reply-To: <1515145938-97474-5-git-send-email-Ravi1.kumar@amd.com> References: <1515145938-97474-5-git-send-email-Ravi1.kumar@amd.com> To: test-report@dpdk.org Cc: Ravi Kumar Message-Id: <20180105095411.AB3151B16C@dpdk.org> Date: Fri, 5 Jan 2018 10:54:11 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw32970 [PATCH v2 05/16] net/axgbe: add phy initialization and related 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, 05 Jan 2018 09:54:11 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/32970 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #1099: FILE: drivers/net/axgbe/axgbe_mdio.c:134: + if (pdata->phy.advertising & ADVERTISED_10000baseKR_Full) CHECK:CAMELCASE: Avoid CamelCase: #1101: FILE: drivers/net/axgbe/axgbe_mdio.c:136: + else if (pdata->phy.advertising & ADVERTISED_10000baseT_Full) CHECK:CAMELCASE: Avoid CamelCase: #1103: FILE: drivers/net/axgbe/axgbe_mdio.c:138: + else if (pdata->phy.advertising & ADVERTISED_2500baseX_Full) CHECK:CAMELCASE: Avoid CamelCase: #1105: FILE: drivers/net/axgbe/axgbe_mdio.c:140: + else if (pdata->phy.advertising & ADVERTISED_1000baseKX_Full) CHECK:CAMELCASE: Avoid CamelCase: #1107: FILE: drivers/net/axgbe/axgbe_mdio.c:142: + else if (pdata->phy.advertising & ADVERTISED_1000baseT_Full) CHECK:CAMELCASE: Avoid CamelCase: #1109: FILE: drivers/net/axgbe/axgbe_mdio.c:144: + else if (pdata->phy.advertising & ADVERTISED_100baseT_Full) CHECK:CAMELCASE: Avoid CamelCase: #1135: FILE: drivers/net/axgbe/axgbe_mdio.c:170: + if (pdata->phy.advertising & ADVERTISED_Autoneg) { CHECK:CAMELCASE: Avoid CamelCase: #1152: FILE: drivers/net/axgbe/axgbe_mdio.c:187: + pdata->phy.advertising &= ~ADVERTISED_Pause; CHECK:CAMELCASE: Avoid CamelCase: #1153: FILE: drivers/net/axgbe/axgbe_mdio.c:188: + pdata->phy.advertising &= ~ADVERTISED_Asym_Pause; CHECK:CAMELCASE: Avoid CamelCase: #1807: FILE: drivers/net/axgbe/axgbe_phy_impl.c:633: + pdata->phy.supported |= SUPPORTED_Autoneg; CHECK:CAMELCASE: Avoid CamelCase: #1808: FILE: drivers/net/axgbe/axgbe_phy_impl.c:634: + pdata->phy.supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause; CHECK:CAMELCASE: Avoid CamelCase: #1808: FILE: drivers/net/axgbe/axgbe_phy_impl.c:634: + pdata->phy.supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause; CHECK:CAMELCASE: Avoid CamelCase: #1809: FILE: drivers/net/axgbe/axgbe_phy_impl.c:635: + pdata->phy.supported |= SUPPORTED_Backplane; CHECK:CAMELCASE: Avoid CamelCase: #1811: FILE: drivers/net/axgbe/axgbe_phy_impl.c:637: + pdata->phy.supported |= SUPPORTED_1000baseKX_Full; CHECK:CAMELCASE: Avoid CamelCase: #1815: FILE: drivers/net/axgbe/axgbe_phy_impl.c:641: + pdata->phy.supported |= SUPPORTED_10000baseKR_Full; CHECK:CAMELCASE: Avoid CamelCase: #1818: FILE: drivers/net/axgbe/axgbe_phy_impl.c:644: + SUPPORTED_10000baseR_FEC; CHECK:CAMELCASE: Avoid CamelCase: #1827: FILE: drivers/net/axgbe/axgbe_phy_impl.c:653: + pdata->phy.supported |= SUPPORTED_2500baseX_Full; CHECK:CAMELCASE: Avoid CamelCase: #1839: FILE: drivers/net/axgbe/axgbe_phy_impl.c:665: + pdata->phy.supported |= SUPPORTED_100baseT_Full; CHECK:CAMELCASE: Avoid CamelCase: #1843: FILE: drivers/net/axgbe/axgbe_phy_impl.c:669: + pdata->phy.supported |= SUPPORTED_1000baseT_Full; CHECK:CAMELCASE: Avoid CamelCase: #1896: FILE: drivers/net/axgbe/axgbe_phy_impl.c:722: + pdata->phy.supported |= SUPPORTED_10000baseT_Full; CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'phy_data->phydev_mode != AXGBE_MDIO_MODE_NONE' #1946: FILE: drivers/net/axgbe/axgbe_phy_impl.c:772: + if ((phy_data->conn_type & AXGBE_CONN_TYPE_MDIO) && + (phy_data->phydev_mode != AXGBE_MDIO_MODE_NONE)) { total: 0 errors, 0 warnings, 21 checks, 1899 lines checked