automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw148396 [PATCH v8 05/17] net/r8169: add support for HW config
       [not found] <20241113092854.91445-6-howard_wang@realsil.com.cn>
@ 2024-11-13  9:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-11-13  9:31 UTC (permalink / raw)
  To: test-report; +Cc: Howard Wang

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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <InterFrameGap>
#239: FILE: drivers/net/r8169/r8169_compat.h:505:
+#define InterFrameGap       0x03    /* 3 means InterFrameGap = the shortest one */

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppIntMitiVer>
#272: FILE: drivers/net/r8169/r8169_ethdev.h:18:
+	u8  HwSuppIntMitiVer;

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

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppDashVer>
#278: FILE: drivers/net/r8169/r8169_ethdev.h:24:
+	u8 HwSuppDashVer;

CHECK:CAMELCASE: Avoid CamelCase: <HwSuppOcpChannelVer>
#280: FILE: drivers/net/r8169/r8169_ethdev.h:26:
+	u8 HwSuppOcpChannelVer;

CHECK:CAMELCASE: Avoid CamelCase: <AllowAccessDashOcp>
#281: FILE: drivers/net/r8169/r8169_ethdev.h:27:
+	u8 AllowAccessDashOcp;

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Addr_Align>
#318: FILE: drivers/net/r8169/r8169_hw.c:30:
+		val_shift = addr % ERIAR_Addr_Align;

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Read>
#321: FILE: drivers/net/r8169/r8169_hw.c:33:
+		eri_cmd = ERIAR_Read | transformed_base_address |

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Type_shift>
#322: FILE: drivers/net/r8169/r8169_hw.c:34:
+			  type << ERIAR_Type_shift |

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_ByteEn>
#323: FILE: drivers/net/r8169/r8169_hw.c:35:
+			  ERIAR_ByteEn << ERIAR_ByteEn_shift |

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_ByteEn_shift>
#323: FILE: drivers/net/r8169/r8169_hw.c:35:
+			  ERIAR_ByteEn << ERIAR_ByteEn_shift |

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Flag>
#337: FILE: drivers/net/r8169/r8169_hw.c:49:
+			if (RTL_R32(hw, ERIAR) & ERIAR_Flag)

CHECK:CAMELCASE: Avoid CamelCase: <ERIAR_Write>
#399: FILE: drivers/net/r8169/r8169_hw.c:111:
+		eri_cmd = ERIAR_Write | transformed_base_address |

CHECK:CAMELCASE: Avoid CamelCase: <ChipCmd>
#587: FILE: drivers/net/r8169/r8169_hw.c:369:
+	RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | StopReq);

CHECK:CAMELCASE: Avoid CamelCase: <StopReq>
#587: FILE: drivers/net/r8169/r8169_hw.c:369:
+	RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) | StopReq);

CHECK:CAMELCASE: Avoid CamelCase: <CmdTxEnb>
#605: FILE: drivers/net/r8169/r8169_hw.c:387:
+	RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) & (CmdTxEnb | CmdRxEnb));

CHECK:CAMELCASE: Avoid CamelCase: <CmdRxEnb>
#605: FILE: drivers/net/r8169/r8169_hw.c:387:
+	RTL_W8(hw, ChipCmd, RTL_R8(hw, ChipCmd) & (CmdTxEnb | CmdRxEnb));

CHECK:CAMELCASE: Avoid CamelCase: <MCUCmd_reg>
#618: FILE: drivers/net/r8169/r8169_hw.c:400:
+			if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) ==

CHECK:CAMELCASE: Avoid CamelCase: <Txfifo_empty>
#618: FILE: drivers/net/r8169/r8169_hw.c:400:
+			if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) ==

CHECK:CAMELCASE: Avoid CamelCase: <Rxfifo_empty>
#618: FILE: drivers/net/r8169/r8169_hw.c:400:
+			if ((RTL_R8(hw, MCUCmd_reg) & (Txfifo_empty | Rxfifo_empty)) ==

CHECK:CAMELCASE: Avoid CamelCase: <IntrMitigate>
#632: FILE: drivers/net/r8169/r8169_hw.c:414:
+			if ((RTL_R16(hw, IntrMitigate) & (BIT_0 | BIT_1 | BIT_8)) ==

CHECK:CAMELCASE: Avoid CamelCase: <RxConfig>
#643: FILE: drivers/net/r8169/r8169_hw.c:425:
+	RTL_W32(hw, RxConfig, RTL_R32(hw, RxConfig) &

CHECK:CAMELCASE: Avoid CamelCase: <AcceptErr>
#644: FILE: drivers/net/r8169/r8169_hw.c:426:
+		~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast |

CHECK:CAMELCASE: Avoid CamelCase: <AcceptRunt>
#644: FILE: drivers/net/r8169/r8169_hw.c:426:
+		~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast |

CHECK:CAMELCASE: Avoid CamelCase: <AcceptBroadcast>
#644: FILE: drivers/net/r8169/r8169_hw.c:426:
+		~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast |

CHECK:CAMELCASE: Avoid CamelCase: <AcceptMulticast>
#644: FILE: drivers/net/r8169/r8169_hw.c:426:
+		~(AcceptErr | AcceptRunt | AcceptBroadcast | AcceptMulticast |

CHECK:CAMELCASE: Avoid CamelCase: <AcceptMyPhys>
#645: FILE: drivers/net/r8169/r8169_hw.c:427:
+		AcceptMyPhys | AcceptAllPhys));

CHECK:CAMELCASE: Avoid CamelCase: <AcceptAllPhys>
#645: FILE: drivers/net/r8169/r8169_hw.c:427:
+		AcceptMyPhys | AcceptAllPhys));

CHECK:CAMELCASE: Avoid CamelCase: <CmdReset>
#664: FILE: drivers/net/r8169/r8169_hw.c:446:
+	RTL_W8(hw, ChipCmd, CmdReset);

CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346>
#677: FILE: drivers/net/r8169/r8169_hw.c:459:
+	RTL_W8(hw, Cfg9346, RTL_R8(hw, Cfg9346) | Cfg9346_Unlock);

CHECK:CAMELCASE: Avoid CamelCase: <Cfg9346_Unlock>
#677: FILE: drivers/net/r8169/r8169_hw.c:459:
+	RTL_W8(hw, Cfg9346, RTL_R8(hw, Cfg9346) | Cfg9346_Unlock);

CHECK:CAMELCASE: Avoid CamelCase: <Config2>
#703: FILE: drivers/net/r8169/r8169_hw.c:485:
+			RTL_W8(hw, Config2, RTL_R8(hw, Config2) | BIT_7);

CHECK:CAMELCASE: Avoid CamelCase: <Config5>
#704: FILE: drivers/net/r8169/r8169_hw.c:486:
+			RTL_W8(hw, Config5, RTL_R8(hw, Config5) | BIT_0);

CHECK:CAMELCASE: Avoid CamelCase: <RxCfgDMAShift>
#799: FILE: drivers/net/r8169/r8169_hw.c:581:
+	RTL_W32(hw, RxConfig, (RX_DMA_BURST_unlimited << RxCfgDMAShift));

CHECK:CAMELCASE: Avoid CamelCase: <TxConfig>
#824: FILE: drivers/net/r8169/r8169_hw.c:606:
+	RTL_W32(hw, TxConfig, (TX_DMA_BURST_unlimited << TxDMAShift) |

CHECK:CAMELCASE: Avoid CamelCase: <TxDMAShift>
#824: FILE: drivers/net/r8169/r8169_hw.c:606:
+	RTL_W32(hw, TxConfig, (TX_DMA_BURST_unlimited << TxDMAShift) |

CHECK:CAMELCASE: Avoid CamelCase: <TxInterFrameGapShift>
#825: FILE: drivers/net/r8169/r8169_hw.c:607:
+		(InterFrameGap << TxInterFrameGapShift));

CHECK:CAMELCASE: Avoid CamelCase: <Config1>
#854: FILE: drivers/net/r8169/r8169_hw.c:636:
+		RTL_W8(hw, Config1, RTL_R8(hw, Config1) & ~0x10);

CHECK:CAMELCASE: Avoid CamelCase: <EnableRxDescV4_0>
#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 <stdio.h>

total: 0 errors, 1 warnings, 39 checks, 994 lines checked

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

only message in thread, other threads:[~2024-11-13  9:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241113092854.91445-6-howard_wang@realsil.com.cn>
2024-11-13  9:31 ` |WARNING| pw148396 [PATCH v8 05/17] net/r8169: add support for HW config 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).