2023-03-29 17:07:29

by Abhirup Deb

[permalink] [raw]
Subject: [PATCH 2/5] staging: r8188eu: refactor block-comments

Fix block comments by moving "/*" & "*/" symbols
on separate lines in adherence to the linux kernel
coding-style.

checkpatch warning produced:

WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Abhirup Deb <[email protected]>
---
drivers/staging/r8188eu/hal/usb_halinit.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/r8188eu/hal/usb_halinit.c b/drivers/staging/r8188eu/hal/usb_halinit.c
index 2ba1c1b25a76..9c2774eb5f78 100644
--- a/drivers/staging/r8188eu/hal/usb_halinit.c
+++ b/drivers/staging/r8188eu/hal/usb_halinit.c
@@ -381,8 +381,8 @@ static void _InitRetryFunction(struct adapter *Adapter)
/* Set ACK timeout */
rtw_write8(Adapter, REG_ACKTO, 0x40);
}
-
-/*-----------------------------------------------------------------------------
+/*
+ *-----------------------------------------------------------------------------
* Function: usb_AggSettingTxUpdate()
*
* Overview: Separate TX/RX parameters update independent for TP detection and
@@ -396,7 +396,8 @@ static void _InitRetryFunction(struct adapter *Adapter)
* When Who Remark
* 12/10/2010 MHC Separate to smaller function.
*
- *---------------------------------------------------------------------------*/
+ *---------------------------------------------------------------------------
+ */
static void usb_AggSettingTxUpdate(struct adapter *Adapter)
{
u32 value32;
@@ -414,8 +415,8 @@ static void usb_AggSettingTxUpdate(struct adapter *Adapter)

rtw_write32(Adapter, REG_TDECTRL, value32);
}
-
-/*-----------------------------------------------------------------------------
+/*
+ *-----------------------------------------------------------------------------
* Function: usb_AggSettingRxUpdate()
*
* Overview: Separate TX/RX parameters update independent for TP detection and
@@ -429,7 +430,8 @@ static void usb_AggSettingTxUpdate(struct adapter *Adapter)
* When Who Remark
* 12/10/2010 MHC Separate to smaller function.
*
- *---------------------------------------------------------------------------*/
+ *---------------------------------------------------------------------------
+ */
static void
usb_AggSettingRxUpdate(
struct adapter *Adapter
--
2.31.1