[PATCH 2/9] staging: rtl8723bs: fix space-before-tab whitespace

Marc Finkelbaum
2026-04-14T09:58:57Z

Replace tab characters with a single space in macro definitions
(EEPROM_CHANNEL_PLAN_BY_HW_MASK, REG_RF_BB_GAIN_OFFSET), the
dump_chip_info parameter list, the pHalData pointer declaration in
SetHalODMVar, and the BK/BE/VI/VO tabular comments inside
_TwoOutPipeMapping and _ThreeOutPipeMapping.

No functional change.

Signed-off-by: Marc Finkelbaum <regpacy@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_com.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
index 0c3e983a1b2c..07e4da49d757 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com.c
@@ -30,7 +30,7 @@ void rtw_hal_data_deinit(struct adapter *padapter)
}
}

-void dump_chip_info(struct hal_version ChipVersion)
+void dump_chip_info(struct hal_version ChipVersion)
{
char buf[128];
size_t cnt = 0;
@@ -70,7 +70,7 @@ void dump_chip_info(struct hal_version ChipVersion)
cnt += scnprintf(buf + cnt, sizeof(buf) - cnt, "RomVer(%d)\n", ChipVersion.ROMVer);
}

-#define EEPROM_CHANNEL_PLAN_BY_HW_MASK 0x80
+#define EEPROM_CHANNEL_PLAN_BY_HW_MASK 0x80

/*
* Description:
@@ -358,7 +358,7 @@ static void _TwoOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter);

if (bWIFICfg) { /* WMM */
- /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
+ /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
/* 0, 1, 0, 1, 0, 0, 0, 0, 0 }; */
/* 0:ep_0 num, 1:ep_1 num */

@@ -395,7 +395,7 @@ static void _ThreeOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter);

if (bWIFICfg) { /* for WMM */
- /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
+ /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
/* 1, 2, 1, 0, 0, 0, 0, 0, 0 }; */
/* 0:H, 1:N, 2:L */

@@ -410,7 +410,7 @@ static void _ThreeOutPipeMapping(struct adapter *padapter, bool bWIFICfg)
pdvobjpriv->Queue2Pipe[7] = pdvobjpriv->RtOutPipe[0];/* TXCMD */

} else { /* typical setting */
- /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
+ /* BK, BE, VI, VO, BCN, CMD, MGT, HIGH, HCCA */
/* 2, 2, 1, 0, 0, 0, 0, 0, 0 }; */
/* 0:H, 1:N, 2:L */

@@ -708,7 +708,7 @@ void SetHalODMVar(
bool bSet
)
{
- struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
+ struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
struct dm_odm_t *podmpriv = &pHalData->odmpriv;
/* _irqL irqL; */
switch (eVariable) {
@@ -786,7 +786,7 @@ static u32 Array_kfreemap[] = {
0xfc, 0x0,
};

-#define REG_RF_BB_GAIN_OFFSET 0x7f
+#define REG_RF_BB_GAIN_OFFSET 0x7f
//#define RF_GAIN_OFFSET_MASK 0xfffff

void rtw_bb_rf_gain_offset(struct adapter *padapter)
--
2.53.0