]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: fix block comment alignment in hal/ source files
authorJennifer Guo <guojy.bj@gmail.com>
Sat, 9 May 2026 04:23:09 +0000 (21:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 08:04:45 +0000 (10:04 +0200)
Add leading whitespace to block comments in order to adhere to
the kernel coding style.

This fixes the following checkpatch.pl warning:
  WARNING: Block comments should align the * on each line.

Signed-off-by: Jennifer Guo <guojy.bj@gmail.com>
Link: https://patch.msgid.link/20260509042310.4745-2-guojy.bj@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_com.c
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
drivers/staging/rtl8723bs/hal/odm.c
drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c
drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c

index 25686aeb073b1411415ae247855aab080d5f6c65..51dbb21345f855df1565156cc340fc4e53ec7274 100644 (file)
@@ -435,10 +435,10 @@ void rtw_init_hal_com_default_value(struct adapter *Adapter)
 }
 
 /*
-* C2H event format:
-* Field         TRIGGER                CONTENT    CMD_SEQ      CMD_LEN          CMD_ID
-* BITS  [127:120]      [119:16]      [15:8]              [7:4]            [3:0]
-*/
+ * C2H event format:
+ * Field        TRIGGER                CONTENT    CMD_SEQ      CMD_LEN          CMD_ID
+ * BITS         [127:120]      [119:16]      [15:8]              [7:4]            [3:0]
+ */
 
 void c2h_evt_clear(struct adapter *adapter)
 {
@@ -446,10 +446,10 @@ void c2h_evt_clear(struct adapter *adapter)
 }
 
 /*
-* C2H event format:
-* Field    TRIGGER    CMD_LEN    CONTENT    CMD_SEQ    CMD_ID
-* BITS    [127:120]   [119:112]    [111:16]         [15:8]         [7:0]
-*/
+ * C2H event format:
+ * Field    TRIGGER    CMD_LEN    CONTENT    CMD_SEQ    CMD_ID
+ * BITS    [127:120]   [119:112]    [111:16]        [15:8]         [7:0]
+ */
 s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf)
 {
        s32 ret = _FAIL;
@@ -483,9 +483,9 @@ s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf)
 
 clear_evt:
        /*
-       * Clear event to notify FW we have read the command.
-       * If this field isn't clear, the FW won't update the next command message.
-       */
+        * Clear event to notify FW we have read the command.
+        * If this field isn't clear, the FW won't update the next command message.
+        */
        c2h_evt_clear(adapter);
 exit:
        return ret;
@@ -582,9 +582,9 @@ void SetHwReg(struct adapter *adapter, u8 variable, u8 *val)
                break;
        case HW_VAR_DM_FUNC_CLR:
                /*
-               * input is already a mask to clear function
-               * don't invert it again! George, Lucas@20130513
-               */
+                * input is already a mask to clear function
+                * don't invert it again! George, Lucas@20130513
+                */
                odm->SupportAbility &= *((u32 *)val);
                break;
        case HW_VAR_AMPDU_MIN_SPACE:
index 1e5669b17d0f7ed7b957d69fb45f8fcfacc3ae84..ea79e300f83b68d49d9874165344b6d8f468a313 100644 (file)
@@ -407,9 +407,9 @@ struct adapter *padapter
 }
 
 /*
 * This function must be called if the value in the PHY_REG_PG.txt(or header)
 * is exact dBm values
 */
+ * This function must be called if the value in the PHY_REG_PG.txt(or header)
+ * is exact dBm values
+ */
 void PHY_TxPowerByRateConfiguration(struct adapter *padapter)
 {
        phy_StoreTxPowerByRateBase(padapter);
index b4f872f4d6c93c8aa7ee04c97de01e4df247d408..4f9e5edecaa1468cc176fae629bc24dcf56588a1 100644 (file)
@@ -279,22 +279,22 @@ static void odm_RefreshRateAdaptiveMaskCE(struct dm_odm_t *pDM_Odm)
 }
 
 /*-----------------------------------------------------------------------------
-* Function:    odm_RefreshRateAdaptiveMask()
-*
-* Overview:    Update rate table mask according to rssi
-*
-* Input:               NONE
-*
-* Output:              NONE
-*
-* Return:              NONE
-*
-* Revised History:
-*When          Who             Remark
-*05/27/2009    hpfan   Create Version 0.
-*
-* --------------------------------------------------------------------------
-*/
+ * Function:   odm_RefreshRateAdaptiveMask()
+ *
+ * Overview:   Update rate table mask according to rssi
+ *
+ * Input:              NONE
+ *
+ * Output:             NONE
+ *
+ * Return:             NONE
+ *
+ * Revised History:
+ *When         Who             Remark
+ *05/27/2009   hpfan   Create Version 0.
+ *
+ * --------------------------------------------------------------------------
+ */
 static void odm_RefreshRateAdaptiveMask(struct dm_odm_t *pDM_Odm)
 {
 
index 6c93371796457edc86e99dc7504aabbaa4c9e097..2485c415f14b9f4e1e5bce7725756fe2ae6cdf65 100644 (file)
@@ -32,13 +32,13 @@ static u8 _is_fw_read_cmd_down(struct adapter *padapter, u8 msgbox_num)
 
 
 /*****************************************
-* H2C Msg format :
-*| 31 - 8              |7-5    | 4 - 0 |
-*| h2c_msg     |Class  |CMD_ID |
-*| 31-0                                                |
-*| Ext msg                                     |
-*
-******************************************/
+ * H2C Msg format :
+ *| 31 - 8             |7-5    | 4 - 0 |
+ *| h2c_msg    |Class  |CMD_ID |
+ *| 31-0                                               |
+ *| Ext msg                                    |
+ *
+ ******************************************/
 s32 FillH2CCmd8723B(struct adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer)
 {
        u8 h2c_box_num;
index ffb35e1ace62a7b84c77c0a6867a9fd56ce94a5b..e56536dbbd96411f5a271cf9a2c0031c5de94049 100644 (file)
@@ -24,7 +24,7 @@
  * 11/05/2008  MHC             Add API for tw power setting.
  *
  *
-******************************************************************************/
+ ******************************************************************************/
 
 #include <rtl8723b_hal.h>