automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw148347 [PATCH v7 09/17] net/r8169: add support for HW initialization
       [not found] <20241112095804.42091-10-howard_wang@realsil.com.cn>
@ 2024-11-12 10:03 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-11-12 10:03 UTC (permalink / raw)
  To: test-report; +Cc: Howard Wang

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/148347

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#170: FILE: drivers/net/r8169/r8169_dash.c:5:
+#include <stdio.h>

CHECK:CAMELCASE: Avoid CamelCase: <AllowAccessDashOcp>
#228: FILE: drivers/net/r8169/r8169_dash.c:63:
+	if (!hw->AllowAccessDashOcp)

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppDashVer>
#274: 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?
#280: 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: <HwIcVerUnknown>
#426: FILE: drivers/net/r8169/r8169_ethdev.h:40:
+	u8  HwIcVerUnknown;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppNowIsOobVer>
#447: FILE: drivers/net/r8169/r8169_ethdev.h:67:
+	u8  HwSuppNowIsOobVer;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppTxNoCloseVer>
#453: FILE: drivers/net/r8169/r8169_ethdev.h:72:
+	u8  HwSuppTxNoCloseVer;

CHECK:CAMELCASE: Avoid CamelCase: <EnableTxNoClose>
#454: FILE: drivers/net/r8169/r8169_ethdev.h:73:
+	u8  EnableTxNoClose;

CHECK:CAMELCASE: Avoid CamelCase: <MaxTxDescPtrMask>
#457: FILE: drivers/net/r8169/r8169_ethdev.h:76:
+	u32 MaxTxDescPtrMask;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppMaxPhyLinkSpeed>
#532: FILE: drivers/net/r8169/r8169_hw.c:976:
+	speed = RTE_MIN(speed, hw->HwSuppMaxPhyLinkSpeed);

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppOcpChannelVer>
#585: FILE: drivers/net/r8169/r8169_hw.c:1029:
+			hw->HwSuppOcpChannelVer = 2;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppCheckPhyDisableModeVer>
#641: FILE: drivers/net/r8169/r8169_hw.c:1085:
+		hw->HwSuppCheckPhyDisableModeVer = 3;

CHECK:CAMELCASE: Avoid CamelCase: <NotWrRamCodeToMicroP>
#747: FILE: drivers/net/r8169/r8169_hw.c:1191:
+		hw->NotWrRamCodeToMicroP = TRUE;

CHECK:CAMELCASE: Avoid CamelCase: <NotWrMcuPatchCode>
#748: FILE: drivers/net/r8169/r8169_hw.c:1192:
+		hw->NotWrMcuPatchCode = TRUE;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppMacMcuVer>
#754: FILE: drivers/net/r8169/r8169_hw.c:1198:
+		hw->HwSuppMacMcuVer = 2;

CHECK:CAMELCASE: Avoid CamelCase: <MacMcuPageSize>
#761: FILE: drivers/net/r8169/r8169_hw.c:1205:
+		hw->MacMcuPageSize = RTL_MAC_MCU_PAGE_SIZE;

CHECK:CAMELCASE: Avoid CamelCase: <RequirePhyMdiSwapPatch>
#770: FILE: drivers/net/r8169/r8169_hw.c:1214:
+			hw->RequirePhyMdiSwapPatch = TRUE;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppIntMitiVer>
#778: FILE: drivers/net/r8169/r8169_hw.c:1222:
+		hw->HwSuppIntMitiVer = 3;

CHECK:CAMELCASE: Avoid CamelCase: <MCUCmd_reg>
#823: 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: <Now_is_oob>
#823: 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: <TxConfig>
#934: FILE: drivers/net/r8169/r8169_hw.c:1378:
+	val32 = RTL_R32(hw, TxConfig);

total: 0 errors, 1 warnings, 20 checks, 989 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-12 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241112095804.42091-10-howard_wang@realsil.com.cn>
2024-11-12 10:03 ` |WARNING| pw148347 [PATCH v7 09/17] net/r8169: add support for HW initialization checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).