Skip to content

Commit 1b4495f

Browse files
Marco Cesatigregkh
authored andcommitted
Staging: rtl8723bs: fix spaces in odm_HWConfig.c
This commit fixes the following checkpatch.pl errors: ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#26: FILE: ./hal/odm_HWConfig.c:26: +s32 odm_SignalScaleMapping(struct DM_ODM_T * pDM_Odm, s32 CurrSig) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#80: FILE: ./hal/odm_HWConfig.c:80: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#93: FILE: ./hal/odm_HWConfig.c:93: + struct PHY_STATUS_RPT_8192CD_T * pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus; ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#250: FILE: ./hal/odm_HWConfig.c:250: + struct DM_ODM_T * pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#404: FILE: ./hal/odm_HWConfig.c:404: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#418: FILE: ./hal/odm_HWConfig.c:418: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#434: FILE: ./hal/odm_HWConfig.c:434: + struct DM_ODM_T * pDM_Odm, ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" #453: FILE: ./hal/odm_HWConfig.c:453: +enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T * pDM_Odm) ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar" torvalds#468: FILE: ./hal/odm_HWConfig.c:468: + struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Marco Cesati <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 55ccab6 commit 1b4495f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

drivers/staging/rtl8723bs/hal/odm_HWConfig.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower)
2323

2424
}
2525

26-
s32 odm_SignalScaleMapping(struct DM_ODM_T * pDM_Odm, s32 CurrSig)
26+
s32 odm_SignalScaleMapping(struct DM_ODM_T *pDM_Odm, s32 CurrSig)
2727
{
2828
s32 RetSig = 0;
2929

@@ -77,7 +77,7 @@ static u8 odm_EVMdbToPercentage(s8 Value)
7777
}
7878

7979
static void odm_RxPhyStatus92CSeries_Parsing(
80-
struct DM_ODM_T * pDM_Odm,
80+
struct DM_ODM_T *pDM_Odm,
8181
struct odm_phy_info *pPhyInfo,
8282
u8 *pPhyStatus,
8383
struct odm_packet_info *pPktinfo
@@ -90,7 +90,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
9090
bool isCCKrate = false;
9191
u8 rf_rx_num = 0;
9292
u8 LNA_idx, VGA_idx;
93-
struct PHY_STATUS_RPT_8192CD_T * pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;
93+
struct PHY_STATUS_RPT_8192CD_T *pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;
9494

9595
isCCKrate = pPktinfo->data_rate <= DESC_RATE11M;
9696
pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = -1;
@@ -247,7 +247,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
247247
}
248248

249249
static void odm_Process_RSSIForDM(
250-
struct DM_ODM_T * pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo
250+
struct DM_ODM_T *pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo
251251
)
252252
{
253253

@@ -401,7 +401,7 @@ static void odm_Process_RSSIForDM(
401401
/* Endianness before calling this API */
402402
/* */
403403
static void ODM_PhyStatusQuery_92CSeries(
404-
struct DM_ODM_T * pDM_Odm,
404+
struct DM_ODM_T *pDM_Odm,
405405
struct odm_phy_info *pPhyInfo,
406406
u8 *pPhyStatus,
407407
struct odm_packet_info *pPktinfo
@@ -415,7 +415,7 @@ static void ODM_PhyStatusQuery_92CSeries(
415415
}
416416

417417
void ODM_PhyStatusQuery(
418-
struct DM_ODM_T * pDM_Odm,
418+
struct DM_ODM_T *pDM_Odm,
419419
struct odm_phy_info *pPhyInfo,
420420
u8 *pPhyStatus,
421421
struct odm_packet_info *pPktinfo
@@ -431,7 +431,7 @@ void ODM_PhyStatusQuery(
431431
/* */
432432

433433
enum HAL_STATUS ODM_ConfigRFWithHeaderFile(
434-
struct DM_ODM_T * pDM_Odm,
434+
struct DM_ODM_T *pDM_Odm,
435435
enum ODM_RF_Config_Type ConfigType,
436436
enum ODM_RF_RADIO_PATH_E eRFPath
437437
)
@@ -450,7 +450,7 @@ enum HAL_STATUS ODM_ConfigRFWithHeaderFile(
450450
return HAL_STATUS_SUCCESS;
451451
}
452452

453-
enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T * pDM_Odm)
453+
enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T *pDM_Odm)
454454
{
455455
ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD,
456456
("===>ODM_ConfigRFWithTxPwrTrackHeaderFile (%s)\n", (pDM_Odm->bIsMPChip) ? "MPChip" : "TestChip"));
@@ -465,7 +465,7 @@ enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T * pDM_Odm)
465465
}
466466

467467
enum HAL_STATUS ODM_ConfigBBWithHeaderFile(
468-
struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType
468+
struct DM_ODM_T *pDM_Odm, enum ODM_BB_Config_Type ConfigType
469469
)
470470
{
471471
ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD,

0 commit comments

Comments
 (0)