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 6239E45CF3 for ; Wed, 13 Nov 2024 10:34:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A17E40E32; Wed, 13 Nov 2024 10:34:16 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 879684042E for ; Wed, 13 Nov 2024 10:34:14 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 84D3E12314F; Wed, 13 Nov 2024 10:34:14 +0100 (CET) Subject: |WARNING| pw148400 [PATCH v8 09/17] net/r8169: add support for HW initialization In-Reply-To: <20241113092854.91445-10-howard_wang@realsil.com.cn> References: <20241113092854.91445-10-howard_wang@realsil.com.cn> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Howard Wang Message-Id: <20241113093414.84D3E12314F@dpdk.org> Date: Wed, 13 Nov 2024 10:34:14 +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/148400 _coding style issues_ WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #173: FILE: drivers/net/r8169/r8169_dash.c:5: +#include CHECK:CAMELCASE: Avoid CamelCase: #231: FILE: drivers/net/r8169/r8169_dash.c:63: + if (!hw->AllowAccessDashOcp) CHECK:CAMELCASE: Avoid CamelCase: #277: FILE: drivers/net/r8169/r8169_dash.h:17: +#define HW_DASH_SUPPORT_DASH(_M) ((_M)->HwSuppDashVer > 0) CHECK:MACRO_ARG_REUSE: Macro argument reuse '_M' - possible side-effects? #283: FILE: drivers/net/r8169/r8169_dash.h:23: +#define HW_DASH_SUPPORT_GET_FIRMWARE_VERSION(_M) (HW_DASH_SUPPORT_TYPE_2(_M) || \ + HW_DASH_SUPPORT_TYPE_3(_M) || \ + HW_DASH_SUPPORT_TYPE_4(_M)) CHECK:CAMELCASE: Avoid CamelCase: #429: FILE: drivers/net/r8169/r8169_ethdev.h:40: + u8 HwIcVerUnknown; CHECK:CAMELCASE: Avoid CamelCase: #450: FILE: drivers/net/r8169/r8169_ethdev.h:67: + u8 HwSuppNowIsOobVer; CHECK:CAMELCASE: Avoid CamelCase: #456: FILE: drivers/net/r8169/r8169_ethdev.h:72: + u8 HwSuppTxNoCloseVer; CHECK:CAMELCASE: Avoid CamelCase: #457: FILE: drivers/net/r8169/r8169_ethdev.h:73: + u8 EnableTxNoClose; CHECK:CAMELCASE: Avoid CamelCase: #460: FILE: drivers/net/r8169/r8169_ethdev.h:76: + u32 MaxTxDescPtrMask; CHECK:CAMELCASE: Avoid CamelCase: #535: FILE: drivers/net/r8169/r8169_hw.c:976: + speed = RTE_MIN(speed, hw->HwSuppMaxPhyLinkSpeed); CHECK:CAMELCASE: Avoid CamelCase: #588: FILE: drivers/net/r8169/r8169_hw.c:1029: + hw->HwSuppOcpChannelVer = 2; CHECK:CAMELCASE: Avoid CamelCase: #644: FILE: drivers/net/r8169/r8169_hw.c:1085: + hw->HwSuppCheckPhyDisableModeVer = 3; CHECK:CAMELCASE: Avoid CamelCase: #750: FILE: drivers/net/r8169/r8169_hw.c:1191: + hw->NotWrRamCodeToMicroP = TRUE; CHECK:CAMELCASE: Avoid CamelCase: #751: FILE: drivers/net/r8169/r8169_hw.c:1192: + hw->NotWrMcuPatchCode = TRUE; CHECK:CAMELCASE: Avoid CamelCase: #757: FILE: drivers/net/r8169/r8169_hw.c:1198: + hw->HwSuppMacMcuVer = 2; CHECK:CAMELCASE: Avoid CamelCase: #764: FILE: drivers/net/r8169/r8169_hw.c:1205: + hw->MacMcuPageSize = RTL_MAC_MCU_PAGE_SIZE; CHECK:CAMELCASE: Avoid CamelCase: #773: FILE: drivers/net/r8169/r8169_hw.c:1214: + hw->RequirePhyMdiSwapPatch = TRUE; CHECK:CAMELCASE: Avoid CamelCase: #781: FILE: drivers/net/r8169/r8169_hw.c:1222: + hw->HwSuppIntMitiVer = 3; CHECK:CAMELCASE: Avoid CamelCase: #826: FILE: drivers/net/r8169/r8169_hw.c:1267: + RTL_W8(hw, MCUCmd_reg, RTL_R8(hw, MCUCmd_reg) & ~Now_is_oob); CHECK:CAMELCASE: Avoid CamelCase: #826: FILE: drivers/net/r8169/r8169_hw.c:1267: + RTL_W8(hw, MCUCmd_reg, RTL_R8(hw, MCUCmd_reg) & ~Now_is_oob); CHECK:CAMELCASE: Avoid CamelCase: #937: FILE: drivers/net/r8169/r8169_hw.c:1378: + val32 = RTL_R32(hw, TxConfig); total: 0 errors, 1 warnings, 20 checks, 982 lines checked