diff options
| author | 2021-03-15 18:05:42 +0100 | |
|---|---|---|
| committer | 2021-03-16 12:23:15 +0100 | |
| commit | 30cd25c344539cc6da767283cf78d9183239f9db (patch) | |
| tree | f7f1c3e1eef1511856d9ff9993673e756eaf38d1 | |
| parent | Staging: rtl8723bs: fix spaces in odm.c (diff) | |
Staging: rtl8723bs: fix spaces in odm.h
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1371: FILE: ./hal/odm.h:1371:
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1374: FILE: ./hal/odm.h:1374:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1382: FILE: ./hal/odm.h:1382:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1388: FILE: ./hal/odm.h:1388:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1398: FILE: ./hal/odm.h:1398:
+void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1400: FILE: ./hal/odm.h:1400:
+void ODM_DMInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1402: FILE: ./hal/odm.h:1402:
+void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm); /* For common use in the future */
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1404: FILE: ./hal/odm.h:1404:
+void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1406: FILE: ./hal/odm.h:1406:
+void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1409: FILE: ./hal/odm.h:1409:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1415: FILE: ./hal/odm.h:1415:
+void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1417: FILE: ./hal/odm.h:1417:
+void ODM_InitAllTimers(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1419: FILE: ./hal/odm.h:1419:
+void ODM_CancelAllTimers(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "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,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1430: FILE: ./hal/odm.h:1430:
+void ODM_DynamicARFBSelect(struct DM_ODM_T * pDM_Odm, u8 rate, bool Collision_State);
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210315170618.2566-22-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/rtl8723bs/hal/odm.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index 8b8fe2c406f5..8f457b0ea70d 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -1368,10 +1368,10 @@ extern u32 TxScalingTable_Jaguar[TXSCALE_TABLE_SIZE]; /* Remove BB power saving by Yuchen */ #define dm_CheckTXPowerTracking ODM_TXPowerTrackingCheck -void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm); +void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm); bool ODM_RAStateCheck( - struct DM_ODM_T * pDM_Odm, + struct DM_ODM_T *pDM_Odm, s32 RSSI, bool bForceUpdate, u8 *pRATRState @@ -1379,13 +1379,13 @@ bool ODM_RAStateCheck( #define dm_SWAW_RSSI_Check ODM_SwAntDivChkPerPktRssi void ODM_SwAntDivChkPerPktRssi( - struct DM_ODM_T * pDM_Odm, + struct DM_ODM_T *pDM_Odm, u8 StationID, struct odm_phy_info *pPhyInfo ); u32 ODM_Get_Rate_Bitmap( - struct DM_ODM_T * pDM_Odm, + struct DM_ODM_T *pDM_Odm, u32 macid, u32 ra_mask, u8 rssi_level @@ -1395,38 +1395,38 @@ u32 ODM_Get_Rate_Bitmap( BEAMFORMING_CAP Beamforming_GetEntryBeamCapByMacId(PMGNT_INFO pMgntInfo, u8 MacId); #endif -void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm); +void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm); -void ODM_DMInit(struct DM_ODM_T * pDM_Odm); +void ODM_DMInit(struct DM_ODM_T *pDM_Odm); -void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm); /* For common use in the future */ +void ODM_DMWatchdog(struct DM_ODM_T *pDM_Odm); /* For common use in the future */ -void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value); +void ODM_CmnInfoInit(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32 Value); -void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue); +void ODM_CmnInfoHook(struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void *pValue); void ODM_CmnInfoPtrArrayHook( - struct DM_ODM_T * pDM_Odm, + struct DM_ODM_T *pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u16 Index, void *pValue ); -void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value); +void ODM_CmnInfoUpdate(struct DM_ODM_T *pDM_Odm, u32 CmnInfo, u64 Value); -void ODM_InitAllTimers(struct DM_ODM_T * pDM_Odm); +void ODM_InitAllTimers(struct DM_ODM_T *pDM_Odm); -void ODM_CancelAllTimers(struct DM_ODM_T * pDM_Odm); +void ODM_CancelAllTimers(struct DM_ODM_T *pDM_Odm); -void ODM_ReleaseAllTimers(struct DM_ODM_T * pDM_Odm); +void ODM_ReleaseAllTimers(struct DM_ODM_T *pDM_Odm); void ODM_AntselStatistics_88C( - struct DM_ODM_T * pDM_Odm, + struct DM_ODM_T *pDM_Odm, u8 MacId, u32 PWDBAll, bool isCCKrate ); -void ODM_DynamicARFBSelect(struct DM_ODM_T * pDM_Odm, u8 rate, bool Collision_State); +void ODM_DynamicARFBSelect(struct DM_ODM_T *pDM_Odm, u8 rate, bool Collision_State); #endif |
