[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250721164343.8395-2-A.Nasrolahi01@gmail.com>
Date: Mon, 21 Jul 2025 20:13:42 +0330
From: Ali Nasrolahi <a.nasrolahi01@...il.com>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
linux-staging@...ts.linux.dev,
Ali Nasrolahi <A.Nasrolahi01@...il.com>
Subject: [PATCH v3 1/2] staging: rtl8723bs: fix comment formatting in basic_types.h
Signed-off-by: Ali Nasrolahi <A.Nasrolahi01@...il.com>
---
drivers/staging/rtl8723bs/include/basic_types.h | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/basic_types.h b/drivers/staging/rtl8723bs/include/basic_types.h
index 57bb717327c..e2f203910be 100644
--- a/drivers/staging/rtl8723bs/include/basic_types.h
+++ b/drivers/staging/rtl8723bs/include/basic_types.h
@@ -26,7 +26,7 @@
* 1. Read/write packet content.
* 2. Before write integer to IO.
* 3. After read integer from IO.
-*/
+ */
/* */
/* Byte Swapping routine. */
@@ -94,7 +94,7 @@
#define BIT_OFFSET_LEN_MASK_8(__bitoffset, __bitlen) \
(BIT_LEN_MASK_8(__bitlen) << (__bitoffset))
-/*Description:
+/* Description:
* Return 4-byte value in host byte ordering from
* 4-byte pointer in little-endian system.
*/
@@ -105,11 +105,10 @@
#define LE_P1BYTE_TO_HOST_1BYTE(__pstart) \
(EF1BYTE(*((u8 *)(__pstart))))
-/* */
-/* Description: */
-/* Translate subfield (continuous bits in little-endian) of 4-byte value in litten byte to */
-/* 4-byte value in host byte ordering. */
-/* */
+/* Description:
+ * Translate subfield (continuous bits in little-endian) of 4-byte value in litten byte to
+ * 4-byte value in host byte ordering.
+ */
#define LE_BITS_TO_4BYTE(__pstart, __bitoffset, __bitlen) \
(\
(LE_P4BYTE_TO_HOST_4BYTE(__pstart) >> (__bitoffset)) & \
--
2.50.1
Powered by blists - more mailing lists