lkml.org 
[lkml]   [2023]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/5] staging: r8188eu: refactor block-comments
Date
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 <abhirupdeb@linux.vnet.ibm.com>
---
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
\
 
 \ /
  Last update: 2023-03-29 19:02    [W:0.052 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site