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 A5C9445CF3 for ; Wed, 13 Nov 2024 10:31:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96AB040ED8; Wed, 13 Nov 2024 10:31:28 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 685FA40E4C for ; Wed, 13 Nov 2024 10:31:26 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 5C1801234FA; Wed, 13 Nov 2024 10:31:26 +0100 (CET) Subject: |WARNING| pw148396 [PATCH v8 05/17] net/r8169: add support for HW config In-Reply-To: <20241113092854.91445-6-howard_wang@realsil.com.cn> References: <20241113092854.91445-6-howard_wang@realsil.com.cn> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Howard Wang Message-Id: <20241113093126.5C1801234FA@dpdk.org> Date: Wed, 13 Nov 2024 10:31:26 +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/148396 _coding style issues_ CHECK:CAMELCASE: Avoid CamelCase: #239: FILE: drivers/net/r8169/r8169_compat.h:505: +#define InterFrameGap 0x03 /* 3 means InterFrameGap = the shortest one */ CHECK:CAMELCASE: Avoid CamelCase: #272: FILE: drivers/net/r8169/r8169_ethdev.h:18: + u8 HwSuppIntMitiVer; CHECK:CAMELCASE: Avoid CamelCase: #275: FILE: drivers/net/r8169/r8169_ethdev.h:21: + u8 EnableTxNoClose; CHECK:CAMELCASE: Avoid CamelCase: #278: FILE: drivers/net/r8169/r8169_ethdev.h:24: + u8 HwSuppDashVer; CHECK:CAMELCASE: Avoid CamelCase: #280: FILE: drivers/net/r8169/r8169_ethdev.h:26: + u8 HwSuppOcpChannelVer; CHECK:CAMELCASE: Avoid CamelCase: #281: FILE: drivers/net/r8169/r8169_ethdev.h:27: + u8 AllowAccessDashOcp; CHECK:CAMELCASE: Avoid CamelCase: #318: FILE: drivers/net/r8169/r8169_hw.c:30: + val_shift = addr % ERIAR_Addr_Align; CHECK:CAMELCASE: Avoid CamelCase: #321: FILE: drivers/net/r8169/r8169_hw.c:33: + eri_cmd = ERIAR_Read | transformed_base_address | CHECK:CAMELCASE: Avoid CamelCase: #322: FILE: drivers/net/r8169/r8169_hw.c:34: + type << ERIAR_Type_shift | CHECK:CAMELCASE: Avoid CamelCase: #323: FILE: drivers/net/r8169/r8169_hw.c:35: + ERIAR_ByteEn << ERIAR_ByteEn_shift | CHECK:CAMELCASE: Avoid CamelCase: #323: FILE: drivers/net/r8169/r8169_hw.c:35: + ERIAR_ByteEn << ERIAR_ByteEn_shift | CHECK:CAMELCASE: Avoid CamelCase: #337: FILE: drivers/net/r8169/r8169_hw.c:49: + if (RTL_R32(hw, ERIAR) & ERIAR_Flag) CHECK:CAMELCASE: Avoid CamelCase: #399: FILE: drivers/net/r8169/r8169_hw.c:111: + eri_cmd = ERIAR_Write | transformed_base_address | CHECK:CAMELCASE: Avoid CamelCase: #587: FILE: drivers/net/r8169/r8169_hw.c:369: + RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | StopReq); CHECK:CAMELCASE: Avoid CamelCase: #587: FILE: drivers/net/r8169/r8169_hw.c:369: + RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | StopReq); CHECK:CAMELCASE: Avoid CamelCase: #605: FILE: drivers/net/r8169/r8169_hw.c:387: + RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) & (CmdTxEnb | CmdRxEnb)); CHECK:CAMELCASE: Avoid CamelCase: #605: FILE: drivers/net/r8169/r8169_hw.c:387: + RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) & (CmdTxEnb | CmdRxEnb)); CHECK:CAMELCASE: Avoid CamelCase: #618: FILE: drivers/net/r8169/r8169_hw.c:400: + if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) == CHECK:CAMELCASE: Avoid CamelCase: #618: FILE: drivers/net/r8169/r8169_hw.c:400: + if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) == CHECK:CAMELCASE: Avoid CamelCase: #618: FILE: drivers/net/r8169/r8169_hw.c:400: + if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) == CHECK:CAMELCASE: Avoid CamelCase: #632: FILE: drivers/net/r8169/r8169_hw.c:414: + if ((RTL_R16(hw, IntrMitigate) & (BIT_0 | BIT_1 | BIT_8)) == CHECK:CAMELCASE: Avoid CamelCase: #643: FILE: drivers/net/r8169/r8169_hw.c:425: + RTL_W32(hw, RxConfig, RTL_R32(hw, RxConfig) & CHECK:CAMELCASE: Avoid CamelCase: #644: FILE: drivers/net/r8169/r8169_hw.c:426: + ~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast | CHECK:CAMELCASE: Avoid CamelCase: #644: FILE: drivers/net/r8169/r8169_hw.c:426: + ~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast | CHECK:CAMELCASE: Avoid CamelCase: #644: FILE: drivers/net/r8169/r8169_hw.c:426: + ~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast | CHECK:CAMELCASE: Avoid CamelCase: #644: FILE: drivers/net/r8169/r8169_hw.c:426: + ~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast | CHECK:CAMELCASE: Avoid CamelCase: #645: FILE: drivers/net/r8169/r8169_hw.c:427: + AcceptMyPhys | AcceptAllPhys)); CHECK:CAMELCASE: Avoid CamelCase: #645: FILE: drivers/net/r8169/r8169_hw.c:427: + AcceptMyPhys | AcceptAllPhys)); CHECK:CAMELCASE: Avoid CamelCase: #664: FILE: drivers/net/r8169/r8169_hw.c:446: + RTL_W8(hw, ChipCmd, CmdReset); CHECK:CAMELCASE: Avoid CamelCase: #677: FILE: drivers/net/r8169/r8169_hw.c:459: + RTL_W8(hw, Cfg9346, RTL_R8(hw, Cfg9346) | Cfg9346_Unlock); CHECK:CAMELCASE: Avoid CamelCase: #677: FILE: drivers/net/r8169/r8169_hw.c:459: + RTL_W8(hw, Cfg9346, RTL_R8(hw, Cfg9346) | Cfg9346_Unlock); CHECK:CAMELCASE: Avoid CamelCase: #703: FILE: drivers/net/r8169/r8169_hw.c:485: + RTL_W8(hw, Config2, RTL_R8(hw, Config2) | BIT_7); CHECK:CAMELCASE: Avoid CamelCase: #704: FILE: drivers/net/r8169/r8169_hw.c:486: + RTL_W8(hw, Config5, RTL_R8(hw, Config5) | BIT_0); CHECK:CAMELCASE: Avoid CamelCase: #799: FILE: drivers/net/r8169/r8169_hw.c:581: + RTL_W32(hw, RxConfig, (RX_DMA_BURST_unlimited << RxCfgDMAShift)); CHECK:CAMELCASE: Avoid CamelCase: #824: FILE: drivers/net/r8169/r8169_hw.c:606: + RTL_W32(hw, TxConfig, (TX_DMA_BURST_unlimited << TxDMAShift) | CHECK:CAMELCASE: Avoid CamelCase: #824: FILE: drivers/net/r8169/r8169_hw.c:606: + RTL_W32(hw, TxConfig, (TX_DMA_BURST_unlimited << TxDMAShift) | CHECK:CAMELCASE: Avoid CamelCase: #825: FILE: drivers/net/r8169/r8169_hw.c:607: + (InterFrameGap << TxInterFrameGapShift)); CHECK:CAMELCASE: Avoid CamelCase: #854: FILE: drivers/net/r8169/r8169_hw.c:636: + RTL_W8(hw, Config1, RTL_R8(hw, Config1) & ~0x10); CHECK:CAMELCASE: Avoid CamelCase: #999: FILE: drivers/net/r8169/r8169_hw.c:781: + RTL_W8(hw, 0xd8, RTL_R8(hw, 0xd8) & ~EnableRxDescV4_0); WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #1065: FILE: drivers/net/r8169/r8169_phy.c:5: +#include total: 0 errors, 1 warnings, 39 checks, 994 lines checked