Skip to content

Commit

Permalink
Staging: rtl8723bs: fix spaces in odm_HWConfig.c
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Marco Cesati authored and gregkh committed Mar 16, 2021
1 parent 55ccab6 commit 1b4495f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions drivers/staging/rtl8723bs/hal/odm_HWConfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static u8 odm_QueryRxPwrPercentage(s8 AntPower)

}

s32 odm_SignalScaleMapping(struct DM_ODM_T * pDM_Odm, s32 CurrSig)
s32 odm_SignalScaleMapping(struct DM_ODM_T *pDM_Odm, s32 CurrSig)
{
s32 RetSig = 0;

Expand Down Expand Up @@ -77,7 +77,7 @@ static u8 odm_EVMdbToPercentage(s8 Value)
}

static void odm_RxPhyStatus92CSeries_Parsing(
struct DM_ODM_T * pDM_Odm,
struct DM_ODM_T *pDM_Odm,
struct odm_phy_info *pPhyInfo,
u8 *pPhyStatus,
struct odm_packet_info *pPktinfo
Expand All @@ -90,7 +90,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
bool isCCKrate = false;
u8 rf_rx_num = 0;
u8 LNA_idx, VGA_idx;
struct PHY_STATUS_RPT_8192CD_T * pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;
struct PHY_STATUS_RPT_8192CD_T *pPhyStaRpt = (struct PHY_STATUS_RPT_8192CD_T *)pPhyStatus;

isCCKrate = pPktinfo->data_rate <= DESC_RATE11M;
pPhyInfo->rx_mimo_signal_quality[ODM_RF_PATH_A] = -1;
Expand Down Expand Up @@ -247,7 +247,7 @@ static void odm_RxPhyStatus92CSeries_Parsing(
}

static void odm_Process_RSSIForDM(
struct DM_ODM_T * pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo
struct DM_ODM_T *pDM_Odm, struct odm_phy_info *pPhyInfo, struct odm_packet_info *pPktinfo
)
{

Expand Down Expand Up @@ -401,7 +401,7 @@ static void odm_Process_RSSIForDM(
/* Endianness before calling this API */
/* */
static void ODM_PhyStatusQuery_92CSeries(
struct DM_ODM_T * pDM_Odm,
struct DM_ODM_T *pDM_Odm,
struct odm_phy_info *pPhyInfo,
u8 *pPhyStatus,
struct odm_packet_info *pPktinfo
Expand All @@ -415,7 +415,7 @@ static void ODM_PhyStatusQuery_92CSeries(
}

void ODM_PhyStatusQuery(
struct DM_ODM_T * pDM_Odm,
struct DM_ODM_T *pDM_Odm,
struct odm_phy_info *pPhyInfo,
u8 *pPhyStatus,
struct odm_packet_info *pPktinfo
Expand All @@ -431,7 +431,7 @@ void ODM_PhyStatusQuery(
/* */

enum HAL_STATUS ODM_ConfigRFWithHeaderFile(
struct DM_ODM_T * pDM_Odm,
struct DM_ODM_T *pDM_Odm,
enum ODM_RF_Config_Type ConfigType,
enum ODM_RF_RADIO_PATH_E eRFPath
)
Expand All @@ -450,7 +450,7 @@ enum HAL_STATUS ODM_ConfigRFWithHeaderFile(
return HAL_STATUS_SUCCESS;
}

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

enum HAL_STATUS ODM_ConfigBBWithHeaderFile(
struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType
struct DM_ODM_T *pDM_Odm, enum ODM_BB_Config_Type ConfigType
)
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_INIT, ODM_DBG_LOUD,
Expand Down

0 comments on commit 1b4495f

Please sign in to comment.