]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
Staging: rtl8723bs: fix spaces in hal_com.h
authorMarco Cesati <marcocesati@gmail.com>
Mon, 15 Mar 2021 17:06:02 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:23:17 +0000 (12:23 +0100)
This commit fixes the following checkpatch.pl errors:

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #218: FILE: ./include/hal_com.h:218:
    + struct adapter * Adapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #230: FILE: ./include/hal_com.h:230:
    +void rtw_init_hal_com_default_value(struct adapter * Adapter);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #282: FILE: ./include/hal_com.h:282:
    + void * pValue1,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #283: FILE: ./include/hal_com.h:283:
    + void * pValue2);

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #285: FILE: ./include/hal_com.h:285:
    + struct adapter * Adapter,

    ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
    #287: FILE: ./include/hal_com.h:287:
    + void * pValue1,

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-42-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/hal_com.h

index c4b83eb16326934f8c0e9439d5417c4d2aa79eb8..272d7ec4e15d0bf2b358ea4b3741a7045e1aec32 100644 (file)
@@ -215,9 +215,9 @@ u8 MRateToHwRate(u8 rate);
 u8 HwRateToMRate(u8 rate);
 
 void HalSetBrateCfg(
-       struct adapter *        Adapter,
-       u8      *mBratesOS,
-       u16             *pBrateCfg);
+       struct adapter *Adapter,
+       u8 *mBratesOS,
+       u16     *pBrateCfg);
 
 bool
 Hal_MappingOutPipe(
@@ -227,7 +227,7 @@ u8 NumOutPipe
 
 void hal_init_macaddr(struct adapter *adapter);
 
-void rtw_init_hal_com_default_value(struct adapter * Adapter);
+void rtw_init_hal_com_default_value(struct adapter *Adapter);
 
 void c2h_evt_clear(struct adapter *adapter);
 s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
@@ -279,12 +279,12 @@ void rtw_bb_rf_gain_offset(struct adapter *padapter);
 
 void GetHalODMVar(struct adapter *Adapter,
        enum HAL_ODM_VARIABLE           eVariable,
-       void *                          pValue1,
-       void *                          pValue2);
+       void *pValue1,
+       void *pValue2);
 void SetHalODMVar(
-       struct adapter *                        Adapter,
+       struct adapter *Adapter,
        enum HAL_ODM_VARIABLE           eVariable,
-       void *                          pValue1,
+       void *pValue1,
        bool                                    bSet);
 
 #ifdef CONFIG_BACKGROUND_NOISE_MONITOR