[PATCHSET] remove 153 useless typedefs in staging/rtl8723bs

2021-03-12 Thread Marco Cesati
e typedefs in odm_DIG.h [PATCH 32/33] staging: rtl8723bs: remove typedefs in hal_btcoex.c [PATCH 33/33] staging: rtl8723bs: remove typedefs in odm_DynamicBBPowerSaving.h Signed-off-by: Marco Cesati ___ devel mailing list de...@linuxdriverprojec

[PATCH 02/33] staging: rtl8723bs: remove typedefs in rtw_mlme.h

2021-03-12 Thread Marco Cesati
: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c| 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme.h | 12 ++-- drivers/staging/rtl8723bs/include/rtw_mlme_ext.h | 2 +- 4 files changed, 9 insertions(+), 9

[PATCH 05/33] staging: rtl8723bs: remove typedefs in odm_NoiseMonitor.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #27: FILE: hal/odm_NoiseMonitor.h:27: +typedef struct _ODM_NOISE_MONITOR_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal

[PATCH 04/33] staging: rtl8723bs: remove typedefs in odm_CfoTracking.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #15: FILE: hal/odm_CfoTracking.h:15: +typedef struct _CFO_TRACKING_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers/staging/rtl8723bs/hal

[PATCH 06/33] staging: rtl8723bs: remove typedefs in odm_interface.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #42: FILE: hal/odm_interface.h:42: +typedef enum _ODM_H2C_CMD { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_interface.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 01/33] staging: rtl8723bs: remove typedefs in HalBtcOutSrc.h

2021-03-12 Thread Marco Cesati
: +typedef struct _BTC_STATISTICS { WARNING: do not add new typedefs #487: FILE: hal/HalBtcOutSrc.h:487: +typedef struct _BTC_COEXIST { Signed-off-by: Marco Cesati --- .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 148 .../staging/rtl8723bs/hal/HalBtc8723b1Ant.h

[PATCH 08/33] staging: rtl8723bs: remove typedefs in odm_HWConfig.h

2021-03-12 Thread Marco Cesati
{ WARNING: do not add new typedefs #80: FILE: hal/odm_HWConfig.h:80: +typedef struct _Phy_Status_Rpt_8812 { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 2 +- drivers/staging/rtl8723bs/hal/odm_HWConfig.h | 14 +++--- 2 files changed, 8 insertions

[PATCH 07/33] staging: rtl8723bs: remove typedefs in odm_EdcaTurboCheck.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #11: FILE: hal/odm_EdcaTurboCheck.h:11: +typedef struct _EDCA_TURBO_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h| 2 +- drivers/staging/rtl8723bs/hal

[PATCH 09/33] staging: rtl8723bs: remove typedefs in odm_types.h

2021-03-12 Thread Marco Cesati
new typedefs #77: FILE: hal/odm_types.h:77: + typedef struct timer_list RT_TIMER, *PRT_TIMER; WARNING: do not add new typedefs #78: FILE: hal/odm_types.h:78: + typedef void *RT_TIMER_CALL_BACK; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h

[PATCH 10/33] staging: rtl8723bs: remove typedefs in rtw_eeprom.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #45: FILE: include/rtw_eeprom.h:45: +typedef enum _RT_CUSTOMER_ID { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_eeprom.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 03/33] staging: rtl8723bs: remove typedefs in odm.h

2021-03-12 Thread Marco Cesati
: FILE: hal/odm.h:1334: +typedef enum tag_SW_Antenna_Switch_Definition { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_odm.c | 6 +- .../staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 10 +- .../staging/rtl8723bs/hal/HalHWImg8723B_BB.h | 6 +- .../staging/rtl8723bs

[PATCH 11/33] staging: rtl8723bs: remove typedefs in hal_com.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #168: FILE: include/hal_com.h:168: +typedef enum _RT_MEDIA_STATUS { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 2 +- drivers/staging/rtl8723bs/hal

[PATCH 12/33] staging: rtl8723bs: remove typedefs in drv_types.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #374: FILE: include/drv_types.h:374: +typedef enum _DRIVER_STATE { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 14/33] staging: rtl8723bs: remove typedefs in rtw_ioctl_set.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #13: FILE: include/rtw_ioctl_set.h:13: +typedef struct _BSSIDInfo { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_ioctl_set.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 13/33] staging: rtl8723bs: remove typedefs in rtw_ht.h

2021-03-12 Thread Marco Cesati
new typedefs #62: FILE: include/rtw_ht.h:62: +typedef enum _RT_HT_INF1_CAP { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_ht.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_ht.h b/drivers

[PATCH 15/33] staging: rtl8723bs: remove typedefs in wlan_bssdef.h

2021-03-12 Thread Marco Cesati
_NDIS_802_11_KEY { WARNING: do not add new typedefs #157: FILE: include/wlan_bssdef.h:157: +typedef struct _NDIS_802_11_REMOVE_KEY { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/wlan_bssdef.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

[PATCH 16/33] staging: rtl8723bs: remove typedefs in rtw_mp.h

2021-03-12 Thread Marco Cesati
: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_mp.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_mp.h b/drivers/staging/rtl8723bs/include/rtw_mp.h index 2ea7100c3a4c..6cf598439e5c 100644 --- a/drivers/staging/rtl8723bs

[PATCH 17/33] staging: rtl8723bs: remove typedefs in osdep_service.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #83: FILE: include/osdep_service.h:83: +typedef enum mstat_status { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/osdep_service.h | 4 ++-- 1 file changed, 2 insertions

[PATCH 18/33] staging: rtl8723bs: remove typedefs in rtw_security.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #87: FILE: include/rtw_security.h:87: +typedef struct _RT_PMKID_LIST { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_security.h | 6 +++--- drivers/staging/rtl8723bs

[PATCH 20/33] staging: rtl8723bs: remove typedefs in rtl8723b_xmit.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #62: FILE: include/rtl8723b_xmit.h:62: +typedef struct txdesc_8723b { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 8 drivers/staging/rtl8723bs

[PATCH 19/33] staging: rtl8723bs: remove typedefs in hal_com_h2c.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #251: FILE: include/hal_com_h2c.h:251: +typedef struct _RSVDPAGE_LOC { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 20 +-- .../staging

[PATCH 21/33] staging: rtl8723bs: remove typedefs in HalVerDef.h

2021-03-12 Thread Marco Cesati
new typedefs #53: FILE: include/HalVerDef.h:53: +typedef enum tag_HAL_RF_Type_Definition { WARNING: do not add new typedefs #64: FILE: include/HalVerDef.h:64: +typedefstruct tag_HAL_VERSION { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com.c | 2

[PATCH 22/33] staging: rtl8723bs: remove typedefs in rtl8723b_hal.h

2021-03-12 Thread Marco Cesati
: do not add new typedefs #195: FILE: include/rtl8723b_hal.h:195: +typedef enum tag_Package_Definition { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 4 ++-- drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c| 2 +- drivers/staging/rtl8723bs/include

[PATCH 23/33] staging: rtl8723bs: remove typedefs in rtw_mlme_ext.h

2021-03-12 Thread Marco Cesati
_RT_CHANNEL_PLAN_MAP { WARNING: do not add new typedefs #273: FILE: include/rtw_mlme_ext.h:273: +typedef enum _HT_IOT_PEER { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 24 +-- .../staging/rtl8723bs/include/rtw_mlme_ext.h | 40

[PATCH 24/33] staging: rtl8723bs: remove typedefs in HalPwrSeqCmd.h

2021-03-12 Thread Marco Cesati
{ Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c | 4 ++-- drivers/staging/rtl8723bs/hal/hal_pwr_seq.c | 22 +-- .../staging/rtl8723bs/include/HalPwrSeqCmd.h | 10 - .../staging/rtl8723bs/include/hal_pwr_seq.h | 22 +-- 4

[PATCH 26/33] staging: rtl8723bs: remove typedefs in ieee80211.h

2021-03-12 Thread Marco Cesati
: do not add new typedefs #986: FILE: include/ieee80211.h:986: +typedef enum { ParseOK = 0, ParseUnknown = 1, ParseFailed = -1 } ParseRes; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 +- drivers/staging/rtl8723bs/include/ieee80211.h | 12

[PATCH 25/33] staging: rtl8723bs: remove typedefs in sta_info.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #34: FILE: include/sta_info.h:34: +typedef struct _RSSI_STA { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/sta_info.h | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 29/33] staging: rtl8723bs: remove typedefs in rtw_efuse.h

2021-03-12 Thread Marco Cesati
: Marco Cesati --- .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 28 +-- drivers/staging/rtl8723bs/include/hal_data.h | 2 +- drivers/staging/rtl8723bs/include/rtw_efuse.h | 8 +++--- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal

[PATCH 27/33] staging: rtl8723bs: remove typedefs in basic_types.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #16: FILE: include/basic_types.h:16: +typedefsigned int sint; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_ap.c | 2 +- .../staging/rtl8723bs/core/rtw_ieee80211

[PATCH 28/33] staging: rtl8723bs: remove typedefs in osdep_service_linux.h

2021-03-12 Thread Marco Cesati
timer_hdl_return; WARNING: do not add new typedefs #63: FILE: include/osdep_service_linux.h:63: + typedef void* timer_hdl_context; WARNING: do not add new typedefs #65: FILE: include/osdep_service_linux.h:65: + typedef struct work_struct _workitem; Signed-off-by: Marco Cesati

[PATCH 31/33] staging: rtl8723bs: remove typedefs in odm_DIG.h

2021-03-12 Thread Marco Cesati
: FILE: hal/odm_DIG.h:96: +typedef enum tag_ODM_PauseCCKPD_Type { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_com.c | 2 +- drivers/staging/rtl8723bs/hal/odm.c | 2 +- drivers/staging/rtl8723bs/hal/odm.h | 6 ++--- drivers/staging/rtl8723bs/hal

[PATCH 32/33] staging: rtl8723bs: remove typedefs in hal_btcoex.c

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #23: FILE: hal/hal_btcoex.c:23: +typedef struct _btcoexdbginfo { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 14 +++--- 1 file changed, 7 insertions

[PATCH 30/33] staging: rtl8723bs: remove typedefs in hal_btcoex.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #14: FILE: include/hal_btcoex.h:14: +typedef struct _BT_COEXIST { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/hal_btcoex.h | 4 ++-- drivers/staging/rtl8723bs/include

[PATCH 33/33] staging: rtl8723bs: remove typedefs in odm_DynamicBBPowerSaving.h

2021-03-12 Thread Marco Cesati
This commit fixes the following checkpatch.pl warning: WARNING: do not add new typedefs #11: FILE: hal/odm_DynamicBBPowerSaving.h:11: +typedef struct _Dynamic_Power_Saving_ { Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm.h | 2 +- drivers

Re: [PATCH 01/33] staging: rtl8723bs: remove typedefs in HalBtcOutSrc.h

2021-03-15 Thread Marco Cesati
On Mon, Mar 15, 2021 at 05:14:15PM +0300, Dan Carpenter wrote: > On Fri, Mar 12, 2021 at 09:26:06AM +0100, Marco Cesati wrote: > > diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c > > b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c > > index ef8c6a0f31ae

[PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces

2021-03-15 Thread Marco Cesati
This set of patches fixes 522 checkpatch.pl errors of type POINTER_LOCATION in the staging/rtl8723bs souce code. Every patch is purely syntactical: it does not change the generated machine code. Furthermore, every single patch leaves the source code fully compilable, so that 'git bisect' will not b

[PATCH 01/57] Staging: rtl8723bs: fix spaces in rtw_cmd.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #206: FILE: ./core/rtw_cmd.c:206: +static void c2h_wk_callback(struct work_struct * work); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723b

[PATCH 03/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.h

2021-03-15 Thread Marco Cesati
halbtc8723b1ant_Periodical(struct BTC_COEXIST * pBtCoexist); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #185: FILE: ./hal/HalBtc8723b1Ant.h:185: +void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist); Signed-off-by: Marco Cesati ---

[PATCH 02/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c

2021-03-15 Thread Marco Cesati
R_LOCATION: "foo * bar" should be "foo *bar" #3212: FILE: ./hal/HalBtc8723b1Ant.c:3212: +void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #3230: FILE: ./hal/Hal

[PATCH 05/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.h

2021-03-15 Thread Marco Cesati
halbtc8723b2ant_Periodical(struct BTC_COEXIST * pBtCoexist); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #147: FILE: ./hal/HalBtc8723b2Ant.h:147: +void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist); Signed-off-by: Marco Cesati ---

[PATCH 06/57] Staging: rtl8723bs: fix spaces in HalBtcOutSrc.h

2021-03-15 Thread Marco Cesati
+void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #551: FILE: ./hal/HalBtcOutSrc.h:551: +void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist); ERROR:POINTER_LOCATION:

[PATCH 04/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.c

2021-03-15 Thread Marco Cesati
+void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #3290: FILE: ./hal/HalBtc8723b2Ant.c:3290: +void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)

[PATCH 07/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.c

2021-03-15 Thread Marco Cesati
N: "foo * bar" should be "foo *bar" #609: FILE: ./hal/HalHWImg8723B_BB.c:609: +void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T * pDM_Odm) Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 10 +- 1 file changed, 5 insertions(

[PATCH 08/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.h

2021-03-15 Thread Marco Cesati
#27: FILE: ./hal/HalHWImg8723B_BB.h:27: + struct DM_ODM_T * pDM_Odm ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #36: FILE: ./hal/HalHWImg8723B_BB.h:36: + struct DM_ODM_T * pDM_Odm Signed-off-by: Marco Cesati --- drivers/staging/rt

[PATCH 09/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.c

2021-03-15 Thread Marco Cesati
+void ODM_ReadAndConfig_MP_8723B_MAC_REG(struct DM_ODM_T * pDM_Odm) Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c b/drivers/

[PATCH 10/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #18: FILE: ./hal/HalHWImg8723B_MAC.h:18: + struct DM_ODM_T * pDM_Odm Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalHWImg8723B_

[PATCH 11/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.c

2021-03-15 Thread Marco Cesati
ATION: "foo * bar" should be "foo *bar" #425: FILE: ./hal/HalHWImg8723B_RF.c:425: + struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #758: FILE: ./hal

[PATCH 12/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.h

2021-03-15 Thread Marco Cesati
#27: FILE: ./hal/HalHWImg8723B_RF.h:27: + struct DM_ODM_T * pDM_Odm ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #37: FILE: ./hal/HalHWImg8723B_RF.h:37: + struct DM_ODM_T * pDM_Odm Signed-off-by: Marco Cesati --- drivers/staging/rt

[PATCH 13/57] Staging: rtl8723bs: fix spaces in HalPhyRf.c

2021-03-15 Thread Marco Cesati
:39: +void ODM_ClearTxPowerTrackingState(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #77: FILE: ./hal/HalPhyRf.c:77: + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv; Signed-off-by: Marco Cesati --- drivers/staging/rtl

[PATCH 14/57] Staging: rtl8723bs: fix spaces in HalPhyRf.h

2021-03-15 Thread Marco Cesati
:43: +void ODM_ClearTxPowerTrackingState(struct DM_ODM_T * pDM_Odm); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalPhyRf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf.h b/drivers/staging/rtl8723bs/hal/HalPhyRf.h i

[PATCH 16/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.h

2021-03-15 Thread Marco Cesati
ATION: "foo * bar" should be "foo *bar" #44: FILE: ./hal/HalPhyRf_8723B.h:44: +void ODM_SetIQCbyRFpath(struct DM_ODM_T * pDM_Odm, u32 RFpath); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #49: FILE: ./hal/HalPhyRf_8723B.h:49: +void

[PATCH 15/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.c

2021-03-15 Thread Marco Cesati
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1700: FILE: ./hal/HalPhyRf_8723B.c:1700: +static void phy_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm, bool is2T) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1787: FILE: ./h

[PATCH 19/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.c

2021-03-15 Thread Marco Cesati
bar" should be "foo *bar" #798: FILE: ./hal/hal_com_phycfg.c:798: + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1191: FILE: ./hal/hal_com_phycfg.c:1191: + st

[PATCH 18/57] Staging: rtl8723bs: fix spaces in hal_com.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1292: FILE: ./hal/hal_com.c:1292: + struct DM_ODM_T * podmpriv = &pHalData->odmpriv; Signed-off-by: Marco Cesati --- drivers/staging/rtl872

[PATCH 17/57] Staging: rtl8723bs: fix spaces in hal_btcoex.c

2021-03-15 Thread Marco Cesati
#1135: FILE: ./hal/hal_btcoex.c:1135: +void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1166: FILE: ./hal/hal_btcoex.c:1166: +void EXhalbtcoutsrc_BtInfoNotify(struct

[PATCH 20/57] Staging: rtl8723bs: fix spaces in odm.c

2021-03-15 Thread Marco Cesati
"foo *bar" #1243: FILE: ./hal/odm.c:1243: + struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1306: FILE: ./hal/odm.c:1306: +static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm) ERROR:POINT

[PATCH 21/57] Staging: rtl8723bs: fix spaces in odm.h

2021-03-15 Thread Marco Cesati
N: "foo * bar" should be "foo *bar" #1421: FILE: ./hal/odm.h:1421: +void ODM_ReleaseAllTimers(struct DM_ODM_T * pDM_Odm); ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1424: FILE: ./hal/odm.h:1424: + struct DM_ODM_T * pDM_Odm,

[PATCH 22/57] Staging: rtl8723bs: fix spaces in odm_CfoTracking.c

2021-03-15 Thread Marco Cesati
_LOCATION: "foo * bar" should be "foo *bar" #300: FILE: ./hal/odm_CfoTracking.c:300: + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #302: FILE: ./hal/odm_CfoTracking.c:302:

[PATCH 23/57] Staging: rtl8723bs: fix spaces in odm_DIG.c

2021-03-15 Thread Marco Cesati
quot;foo *bar" #1137: FILE: ./hal/odm_DIG.c:1137: + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1138: FILE: ./hal/odm_DIG.c:1138: + struct false_ALARM_STATISTICS * FalseAl

[PATCH 24/57] Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.c

2021-03-15 Thread Marco Cesati
bar" should be "foo *bar" #25: FILE: ./hal/odm_DynamicBBPowerSaving.c:25: + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[PATCH 25/57] Staging: rtl8723bs: fix spaces in odm_DynamicTxPower.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #12: FILE: ./hal/odm_DynamicTxPower.c:12: + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; Signed-off-by: Marco Cesati --- drivers/s

[PATCH 26/57] Staging: rtl8723bs: fix spaces in odm_EdcaTurboCheck.c

2021-03-15 Thread Marco Cesati
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c b/drivers/staging/rtl8723

[PATCH 27/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.c

2021-03-15 Thread Marco Cesati
ackHeaderFile(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #468: FILE: ./hal/odm_HWConfig.c:468: + struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal

[PATCH 29/57] Staging: rtl8723bs: fix spaces in odm_NoiseMonitor.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #22: FILE: ./hal/odm_NoiseMonitor.c:22: + struct DM_ODM_T * pDM_Odm, Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_NoiseMoni

[PATCH 28/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.h

2021-03-15 Thread Marco Cesati
144: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #150: FILE: ./hal/odm_HWConfig.h:150: +s32 odm_SignalScaleMapping(struct DM_ODM_T * pDM_Odm, s32 CurrSig); Signed-off-by: Marco Cesati --- drivers/staging/rtl87

[PATCH 30/57] Staging: rtl8723bs: fix spaces in odm_PathDiv.c

2021-03-15 Thread Marco Cesati
ld be "foo *bar" #25: FILE: ./hal/odm_PathDiv.c:25: + struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/odm_PathDiv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stagin

[PATCH 31/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.c

2021-03-15 Thread Marco Cesati
FILE: ./hal/odm_RegConfig8723B.c:173: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #201: FILE: ./hal/odm_RegConfig8723B.c:201: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" sh

[PATCH 32/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.h

2021-03-15 Thread Marco Cesati
_PHY_8723B(struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #42: FILE: ./hal/odm_RegConfig8723B.h:42: +void odm_ConfigBB_TXPWR_LMT_8723B(struct DM_ODM_T * pDM_Odm, Signed-off-by: Marco Cesati --- drivers/staging/rtl8723

[PATCH 33/57] Staging: rtl8723bs: fix spaces in odm_debug.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #10: FILE: ./hal/odm_debug.c:10: +void ODM_InitDebugSetting(struct DM_ODM_T * pDM_Odm) Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/o

[PATCH 34/57] Staging: rtl8723bs: fix spaces in odm_debug.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #165: FILE: ./hal/odm_debug.h:165: +void ODM_InitDebugSetting(struct DM_ODM_T * pDM_Odm); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs

[PATCH 35/57] Staging: rtl8723bs: fix spaces in rtl8723b_dm.c

2021-03-15 Thread Marco Cesati
./hal/rtl8723b_dm.c:232: + struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #233: FILE: ./hal/rtl8723b_dm.c:233: + struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable; Signed-off-b

[PATCH 36/57] Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.c

2021-03-15 Thread Marco Cesati
TER_LOCATION: "foo * bar" should be "foo *bar" #1721: FILE: ./hal/rtl8723b_hal_init.c:1721: + struct PGPKT_STRUCT * pTargetPkt, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #1788: FILE: ./hal/rtl8723b_hal_init.c

[PATCH 37/57] Staging: rtl8723bs: fix spaces in rtl8723b_phycfg.c

2021-03-15 Thread Marco Cesati
; should be "foo *bar" #598: FILE: ./hal/rtl8723b_phycfg.c:598: + struct FAT_T * pDM_FatTable = &pDM_Odm->DM_FatTable; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driv

[PATCH 39/57] Staging: rtl8723bs: fix spaces in basic_types.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)" #16: FILE: ./include/basic_types.h:16: +#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field) Signed-off-by: Marco Cesati ---

[PATCH 38/57] Staging: rtl8723bs: fix spaces in HalPwrSeqCmd.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #116: FILE: ./include/HalPwrSeqCmd.h:116: + struct adapter *padapter, Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/includ

[PATCH 40/57] Staging: rtl8723bs: fix spaces in drv_types.h

2021-03-15 Thread Marco Cesati
pes.h:435: + struct net_device * pnetdev; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #440: FILE: ./include/drv_types.h:440: + struct net_device * old_pnetdev; Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv

[PATCH 41/57] Staging: rtl8723bs: fix spaces in hal_com.h

2021-03-15 Thread Marco Cesati
uot; 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

[PATCH 43/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.h

2021-03-15 Thread Marco Cesati
quot; #206: FILE: ./include/hal_com_phycfg.h:206: +struct adapter * Adapter ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #218: FILE: ./include/hal_com_phycfg.h:218: +struct adapter * Adapter, Signed-off-by: Marco Cesati ---

[PATCH 42/57] Staging: rtl8723bs: fix spaces in hal_com_h2c.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo*bar" should be "foo *bar" #283: FILE: ./include/hal_com_h2c.h:283: +void rtw_get_sec_iv(struct adapter *padapter, u8*pcur_dot11txpn, u8 *StaAddr); Signed-off-by: Marco Cesati

[PATCH 44/57] Staging: rtl8723bs: fix spaces in ieee80211.h

2021-03-15 Thread Marco Cesati
mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI, unsigned char * MCS_rate); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/ieee80211.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/include/ieee80211.h b/drivers/staging/rtl87

[PATCH 45/57] Staging: rtl8723bs: fix spaces in ioctl_cfg80211.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo*bar" should be "foo *bar" #109: FILE: ./include/ioctl_cfg80211.h:109: +void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char*msg); Signed-

[PATCH 46/57] Staging: rtl8723bs: fix spaces in osdep_intf.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #73: FILE: ./include/osdep_intf.h:73: +void rtw_ndev_destructor(struct net_device * ndev); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/

[PATCH 47/57] Staging: rtl8723bs: fix spaces in osdep_service.h

2021-03-15 Thread Marco Cesati
bar" should be "foo *bar" #145: FILE: ./include/osdep_service.h:145: +extern void rtw_free_netdev(struct net_device * netdev); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/osdep_service.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[PATCH 48/57] Staging: rtl8723bs: fix spaces in osdep_service_linux.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #123: FILE: ./include/osdep_service_linux.h:123: +extern struct net_device * rtw_alloc_etherdev(int sizeof_priv); Signed-off-by: Marco Cesati --- drive

[PATCH 49/57] Staging: rtl8723bs: fix spaces in recv_osdep.h

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #17: FILE: ./include/recv_osdep.h:17: +extern void rtw_recv_returnpacket(struct net_device * cnxt, struct sk_buff *preturnedpkt); Signed-off-by: Marco

[PATCH 50/57] Staging: rtl8723bs: fix spaces in rtl8723b_xmit.h

2021-03-15 Thread Marco Cesati
foo * bar" should be "foo *bar" #447: FILE: ./include/rtl8723b_xmit.h:447: +u8 SCMapping_8723B(struct adapter * Adapter, struct pkt_attrib *pattrib); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtl8723b_xmit.h | 4 ++-- 1 file changed, 2 ins

[PATCH 51/57] Staging: rtl8723bs: fix spaces in rtw_cmd.h

2021-03-15 Thread Marco Cesati
./include/rtw_cmd.h:827: +extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/includ

[PATCH 52/57] Staging: rtl8723bs: fix spaces in rtw_ioctl_set.h

2021-03-15 Thread Marco Cesati
: "foo * bar" should be "foo *bar" #25: FILE: ./include/rtw_ioctl_set.h:25: +u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid * ssid); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_ioctl_set.h | 4 ++-- 1 file change

[PATCH 53/57] Staging: rtl8723bs: fix spaces in rtw_mlme_ext.h

2021-03-15 Thread Marco Cesati
*bar" #633: FILE: ./include/rtw_mlme_ext.h:633: +void report_del_sta_event(struct adapter *padapter, unsigned char* MacAddr, unsigned short reason); ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar" #634: FILE: ./include/rtw_mlme_ext.h:634: +void report_add_sta_even

[PATCH 54/57] Staging: rtl8723bs: fix spaces in xmit_osdep.h

2021-03-15 Thread Marco Cesati
foo * bar" should be "foo *bar" #29: FILE: ./include/xmit_osdep.h:29: +extern int rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev); Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/xmit_osdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[PATCH 55/57] Staging: rtl8723bs: fix spaces in os_intfs.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #208: FILE: ./os_dep/os_intfs.c:208: +static void loadparam(struct adapter *padapter, struct net_device * pnetdev) Signed-off-by: Marco Cesati

[PATCH 56/57] Staging: rtl8723bs: fix spaces in osdep_service.c

2021-03-15 Thread Marco Cesati
This commit fixes the following checkpatch.pl error: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #50: FILE: ./os_dep/osdep_service.c:50: +inline int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb) Signed-off-by: Marco Cesati --- drive

[PATCH 57/57] Staging: rtl8723bs: fix spaces in xmit_linux.c

2021-03-15 Thread Marco Cesati
bar" should be "foo *bar" #247: FILE: ./os_dep/xmit_linux.c:247: +int rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev) Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 00/43] Staging: rtl8723bs: convert ALL_CAPS names

2021-03-17 Thread Marco Cesati
This set of patches converts struct and enum names in the staging/rtl8723bs source code from all caps to lowercase. The checkpatch.pl script emits many errors and warnings for these patches, however all of them are caused by the original code. [PATCH 01/43] Staging: rtl8723bs: fix names in rtw_mlm

[PATCH 01/43] Staging: rtl8723bs: fix names in rtw_mlme.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_mlme.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c| 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/rtw_mlme.h

[PATCH 04/43] Staging: rtl8723bs: fix names in hal_com.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/hal_com.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 2 +- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 +- drivers/staging/rtl8723bs/include/hal_com.h | 4 ++-- 3

[PATCH 05/43] Staging: rtl8723bs: fix names in rtw_eeprom.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_eeprom.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_eeprom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/include

[PATCH 02/43] Staging: rtl8723bs: fix names in wlan_bssdef.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/wlan_bssdef.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 4 +-- .../staging/rtl8723bs/core/rtw_ioctl_set.c| 6 ++-- drivers/staging/rtl8723bs/hal/hal_intf.c

[PATCH 06/43] Staging: rtl8723bs: fix names in rtw_recv.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/rtw_recv.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b

[PATCH 07/43] Staging: rtl8723bs: fix names in drv_types.h

2021-03-17 Thread Marco Cesati
This commit converts names of structs / enums in include/drv_types.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati --- drivers/staging/rtl8723bs/include/drv_types.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/include

  1   2   >