* [PATCH 01/57] Staging: rtl8723bs: fix spaces in rtw_cmd.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 02/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c Marco Cesati
` (56 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c
index bdb77bd46a20..cc10bd5ffb31 100644
--- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
+++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
@@ -203,7 +203,7 @@ int rtw_init_cmd_priv(struct cmd_priv *pcmdpriv)
return res;
}
-static void c2h_wk_callback(struct work_struct * work);
+static void c2h_wk_callback(struct work_struct *work);
int rtw_init_evt_priv(struct evt_priv *pevtpriv)
{
/* allocate DMA-able/Non-Page memory for cmd_buf and rsp_buf */
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 02/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
2021-03-15 17:05 ` [PATCH 01/57] Staging: rtl8723bs: fix spaces in rtw_cmd.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 03/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.h Marco Cesati
` (55 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/HalBtc8723b1Ant.c:12:
+static struct COEX_DM_8723B_1ANT * pCoexDm = &GLCoexDm8723b1Ant;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#14: FILE: ./hal/HalBtc8723b1Ant.c:14:
+static struct COEX_STA_8723B_1ANT * pCoexSta = &GLCoexSta8723b1Ant;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#154: FILE: ./hal/HalBtc8723b1Ant.c:154:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u32 disRateMask
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#169: FILE: ./hal/HalBtc8723b1Ant.c:169:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#207: FILE: ./hal/HalBtc8723b1Ant.c:207:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#234: FILE: ./hal/HalBtc8723b1Ant.c:234:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#260: FILE: ./hal/HalBtc8723b1Ant.c:260:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#288: FILE: ./hal/HalBtc8723b1Ant.c:288:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#317: FILE: ./hal/HalBtc8723b1Ant.c:317:
+static void halbtc8723b1ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#334: FILE: ./hal/HalBtc8723b1Ant.c:334:
+static void halbtc8723b1ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#395: FILE: ./hal/HalBtc8723b1Ant.c:395:
+static void halbtc8723b1ant_MonitorWiFiCtr(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#481: FILE: ./hal/HalBtc8723b1Ant.c:481:
+static bool halbtc8723b1ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#516: FILE: ./hal/HalBtc8723b1Ant.c:516:
+static void halbtc8723b1ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#518: FILE: ./hal/HalBtc8723b1Ant.c:518:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#580: FILE: ./hal/HalBtc8723b1Ant.c:580:
+static u8 halbtc8723b1ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#582: FILE: ./hal/HalBtc8723b1Ant.c:582:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#808: FILE: ./hal/HalBtc8723b1Ant.c:808:
+ struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRa
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#836: FILE: ./hal/HalBtc8723b1Ant.c:836:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bLowPenaltyRa
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#853: FILE: ./hal/HalBtc8723b1Ant.c:853:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#890: FILE: ./hal/HalBtc8723b1Ant.c:890:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#933: FILE: ./hal/HalBtc8723b1Ant.c:933:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#991: FILE: ./hal/HalBtc8723b1Ant.c:991:
+ struct BTC_COEXIST * pBtCoexist, bool bEnable
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1012: FILE: ./hal/HalBtc8723b1Ant.c:1012:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bEnable
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1046: FILE: ./hal/HalBtc8723b1Ant.c:1046:
+ struct BTC_COEXIST * pBtCoexist, u8 lpsVal, u8 rpwmVal
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1057: FILE: ./hal/HalBtc8723b1Ant.c:1057:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1108: FILE: ./hal/HalBtc8723b1Ant.c:1108:
+ struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRA
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1121: FILE: ./hal/HalBtc8723b1Ant.c:1121:
+ struct BTC_COEXIST * pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1124: FILE: ./hal/HalBtc8723b1Ant.c:1124:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1310: FILE: ./hal/HalBtc8723b1Ant.c:1310:
+ struct BTC_COEXIST * pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1364: FILE: ./hal/HalBtc8723b1Ant.c:1364:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1367: FILE: ./hal/HalBtc8723b1Ant.c:1367:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1664: FILE: ./hal/HalBtc8723b1Ant.c:1664:
+static bool halbtc8723b1ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1755: FILE: ./hal/HalBtc8723b1Ant.c:1755:
+ struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1944: FILE: ./hal/HalBtc8723b1Ant.c:1944:
+ struct BTC_COEXIST * pBtCoexist, bool bNewPsState
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1966: FILE: ./hal/HalBtc8723b1Ant.c:1966:
+ struct BTC_COEXIST * pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2014: FILE: ./hal/HalBtc8723b1Ant.c:2014:
+static void halbtc8723b1ant_ActionWifiMultiPort(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2022: FILE: ./hal/HalBtc8723b1Ant.c:2022:
+static void halbtc8723b1ant_ActionHs(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2028: FILE: ./hal/HalBtc8723b1Ant.c:2028:
+static void halbtc8723b1ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2030: FILE: ./hal/HalBtc8723b1Ant.c:2030:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2070: FILE: ./hal/HalBtc8723b1Ant.c:2070:
+ struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2073: FILE: ./hal/HalBtc8723b1Ant.c:2073:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2090: FILE: ./hal/HalBtc8723b1Ant.c:2090:
+ struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2095: FILE: ./hal/HalBtc8723b1Ant.c:2095:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2144: FILE: ./hal/HalBtc8723b1Ant.c:2144:
+static void halbtc8723b1ant_ActionWifiNotConnected(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2155: FILE: ./hal/HalBtc8723b1Ant.c:2155:
+ struct BTC_COEXIST * pBtCoexist
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2158: FILE: ./hal/HalBtc8723b1Ant.c:2158:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2189: FILE: ./hal/HalBtc8723b1Ant.c:2189:
+ struct BTC_COEXIST * pBtCoexist
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2192: FILE: ./hal/HalBtc8723b1Ant.c:2192:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2213: FILE: ./hal/HalBtc8723b1Ant.c:2213:
+static void halbtc8723b1ant_ActionWifiConnectedScan(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2215: FILE: ./hal/HalBtc8723b1Ant.c:2215:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2246: FILE: ./hal/HalBtc8723b1Ant.c:2246:
+ struct BTC_COEXIST * pBtCoexist
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2249: FILE: ./hal/HalBtc8723b1Ant.c:2249:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2270: FILE: ./hal/HalBtc8723b1Ant.c:2270:
+static void halbtc8723b1ant_ActionWifiConnected(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2390: FILE: ./hal/HalBtc8723b1Ant.c:2390:
+static void halbtc8723b1ant_RunSwCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2449: FILE: ./hal/HalBtc8723b1Ant.c:2449:
+static void halbtc8723b1ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2451: FILE: ./hal/HalBtc8723b1Ant.c:2451:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2582: FILE: ./hal/HalBtc8723b1Ant.c:2582:
+static void halbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2596: FILE: ./hal/HalBtc8723b1Ant.c:2596:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2651: FILE: ./hal/HalBtc8723b1Ant.c:2651:
+void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2653: FILE: ./hal/HalBtc8723b1Ant.c:2653:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2703: FILE: ./hal/HalBtc8723b1Ant.c:2703:
+void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2708: FILE: ./hal/HalBtc8723b1Ant.c:2708:
+void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2723: FILE: ./hal/HalBtc8723b1Ant.c:2723:
+void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2725: FILE: ./hal/HalBtc8723b1Ant.c:2725:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2726: FILE: ./hal/HalBtc8723b1Ant.c:2726:
+ struct BTC_STACK_INFO * pStackInfo = &pBtCoexist->stackInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2727: FILE: ./hal/HalBtc8723b1Ant.c:2727:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3186: FILE: ./hal/HalBtc8723b1Ant.c:3186:
+void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_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/HalBtc8723b1Ant.c:3230:
+void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3320: FILE: ./hal/HalBtc8723b1Ant.c:3320:
+void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3377: FILE: ./hal/HalBtc8723b1Ant.c:3377:
+void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3447: FILE: ./hal/HalBtc8723b1Ant.c:3447:
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3536: FILE: ./hal/HalBtc8723b1Ant.c:3536:
+ struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3701: FILE: ./hal/HalBtc8723b1Ant.c:3701:
+void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3716: FILE: ./hal/HalBtc8723b1Ant.c:3716:
+void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3738: FILE: ./hal/HalBtc8723b1Ant.c:3738:
+void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST * pBtCoexist)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 152 +++++++++---------
1 file changed, 76 insertions(+), 76 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
index 87dc63408133..9e81dec49712 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c
@@ -9,9 +9,9 @@
/* Global variables, these are static variables */
static struct COEX_DM_8723B_1ANT GLCoexDm8723b1Ant;
-static struct COEX_DM_8723B_1ANT * pCoexDm = &GLCoexDm8723b1Ant;
+static struct COEX_DM_8723B_1ANT *pCoexDm = &GLCoexDm8723b1Ant;
static struct COEX_STA_8723B_1ANT GLCoexSta8723b1Ant;
-static struct COEX_STA_8723B_1ANT * pCoexSta = &GLCoexSta8723b1Ant;
+static struct COEX_STA_8723B_1ANT *pCoexSta = &GLCoexSta8723b1Ant;
static const char *const GLBtInfoSrc8723b1Ant[] = {
"BT Info[wifi fw]",
@@ -151,7 +151,7 @@ static u8 halbtc8723b1ant_BtRssiState(
}
static void halbtc8723b1ant_UpdateRaMask(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u32 disRateMask
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u32 disRateMask
)
{
pCoexDm->curRaMask = disRateMask;
@@ -166,7 +166,7 @@ static void halbtc8723b1ant_UpdateRaMask(
}
static void halbtc8723b1ant_AutoRateFallbackRetry(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
)
{
bool bWifiUnderBMode = false;
@@ -204,7 +204,7 @@ static void halbtc8723b1ant_AutoRateFallbackRetry(
}
static void halbtc8723b1ant_RetryLimit(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
)
{
pCoexDm->curRetryLimitType = type;
@@ -231,7 +231,7 @@ static void halbtc8723b1ant_RetryLimit(
}
static void halbtc8723b1ant_AmpduMaxTime(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
)
{
pCoexDm->curAmpduTimeType = type;
@@ -257,7 +257,7 @@ static void halbtc8723b1ant_AmpduMaxTime(
}
static void halbtc8723b1ant_LimitedTx(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
u8 raMaskType,
u8 arfrType,
@@ -285,7 +285,7 @@ static void halbtc8723b1ant_LimitedTx(
}
static void halbtc8723b1ant_LimitedRx(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
bool bRejApAggPkt,
bool bBtCtrlAggBufSize,
@@ -314,7 +314,7 @@ static void halbtc8723b1ant_LimitedRx(
}
-static void halbtc8723b1ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_QueryBtInfo(struct BTC_COEXIST *pBtCoexist)
{
u8 H2C_Parameter[1] = {0};
@@ -331,7 +331,7 @@ static void halbtc8723b1ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->fBtcFillH2c(pBtCoexist, 0x61, 1, H2C_Parameter);
}
-static void halbtc8723b1ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_MonitorBtCtr(struct BTC_COEXIST *pBtCoexist)
{
u32 regHPTxRx, regLPTxRx, u4Tmp;
u32 regHPTx = 0, regHPRx = 0, regLPTx = 0, regLPRx = 0;
@@ -392,7 +392,7 @@ static void halbtc8723b1ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
}
-static void halbtc8723b1ant_MonitorWiFiCtr(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_MonitorWiFiCtr(struct BTC_COEXIST *pBtCoexist)
{
s32 wifiRssi = 0;
bool bWifiBusy = false, bWifiUnderBMode = false;
@@ -478,7 +478,7 @@ static void halbtc8723b1ant_MonitorWiFiCtr(struct BTC_COEXIST * pBtCoexist)
}
-static bool halbtc8723b1ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
+static bool halbtc8723b1ant_IsWifiStatusChanged(struct BTC_COEXIST *pBtCoexist)
{
static bool bPreWifiBusy, bPreUnder4way, bPreBtHsOn;
bool bWifiBusy = false, bUnder4way = false, bBtHsOn = false;
@@ -513,9 +513,9 @@ static bool halbtc8723b1ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
return false;
}
-static void halbtc8723b1ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_UpdateBtLinkInfo(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bBtHsOn = false;
pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn);
@@ -577,9 +577,9 @@ static void halbtc8723b1ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
pBtLinkInfo->bHidOnly = false;
}
-static u8 halbtc8723b1ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
+static u8 halbtc8723b1ant_ActionAlgorithm(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bBtHsOn = false;
u8 algorithm = BT_8723B_1ANT_COEX_ALGO_UNDEFINED;
u8 numOfDiffProfile = 0;
@@ -805,7 +805,7 @@ static u8 halbtc8723b1ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
}
static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive(
- struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRa
+ struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRa
)
{
u8 H2C_Parameter[6] = {0};
@@ -833,7 +833,7 @@ static void halbtc8723b1ant_SetSwPenaltyTxRateAdaptive(
}
static void halbtc8723b1ant_LowPenaltyRa(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bLowPenaltyRa
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
)
{
pCoexDm->bCurLowPenaltyRa = bLowPenaltyRa;
@@ -850,7 +850,7 @@ static void halbtc8723b1ant_LowPenaltyRa(
}
static void halbtc8723b1ant_SetCoexTable(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
u32 val0x6c0,
u32 val0x6c4,
u32 val0x6c8,
@@ -887,7 +887,7 @@ static void halbtc8723b1ant_SetCoexTable(
}
static void halbtc8723b1ant_CoexTable(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
u32 val0x6c0,
u32 val0x6c4,
@@ -930,7 +930,7 @@ static void halbtc8723b1ant_CoexTable(
}
static void halbtc8723b1ant_CoexTableWithType(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
)
{
BTC_PRINT(
@@ -988,7 +988,7 @@ static void halbtc8723b1ant_CoexTableWithType(
}
static void halbtc8723b1ant_SetFwIgnoreWlanAct(
- struct BTC_COEXIST * pBtCoexist, bool bEnable
+ struct BTC_COEXIST *pBtCoexist, bool bEnable
)
{
u8 H2C_Parameter[1] = {0};
@@ -1009,7 +1009,7 @@ static void halbtc8723b1ant_SetFwIgnoreWlanAct(
}
static void halbtc8723b1ant_IgnoreWlanAct(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bEnable
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bEnable
)
{
BTC_PRINT(
@@ -1043,7 +1043,7 @@ static void halbtc8723b1ant_IgnoreWlanAct(
}
static void halbtc8723b1ant_SetLpsRpwm(
- struct BTC_COEXIST * pBtCoexist, u8 lpsVal, u8 rpwmVal
+ struct BTC_COEXIST *pBtCoexist, u8 lpsVal, u8 rpwmVal
)
{
u8 lps = lpsVal;
@@ -1054,7 +1054,7 @@ static void halbtc8723b1ant_SetLpsRpwm(
}
static void halbtc8723b1ant_LpsRpwm(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 lpsVal, u8 rpwmVal
)
{
BTC_PRINT(
@@ -1105,7 +1105,7 @@ static void halbtc8723b1ant_LpsRpwm(
}
static void halbtc8723b1ant_SwMechanism(
- struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRA
+ struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRA
)
{
BTC_PRINT(
@@ -1118,10 +1118,10 @@ static void halbtc8723b1ant_SwMechanism(
}
static void halbtc8723b1ant_SetAntPath(
- struct BTC_COEXIST * pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
+ struct BTC_COEXIST *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
u32 fwVer = 0, u4Tmp = 0, cntBtCalChk = 0;
bool bPgExtSwitch = false;
bool bUseExtSwitch = false;
@@ -1307,7 +1307,7 @@ static void halbtc8723b1ant_SetAntPath(
}
static void halbtc8723b1ant_SetFwPstdma(
- struct BTC_COEXIST * pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
+ struct BTC_COEXIST *pBtCoexist, u8 byte1, u8 byte2, u8 byte3, u8 byte4, u8 byte5
)
{
u8 H2C_Parameter[5] = {0};
@@ -1361,10 +1361,10 @@ static void halbtc8723b1ant_SetFwPstdma(
static void halbtc8723b1ant_PsTdma(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bWifiBusy = false;
u8 rssiAdjustVal = 0;
u8 psTdmaByte4Val = 0x50, psTdmaByte0Val = 0x51, psTdmaByte3Val = 0x10;
@@ -1661,7 +1661,7 @@ static void halbtc8723b1ant_PsTdma(
pCoexDm->prePsTdma = pCoexDm->curPsTdma;
}
-static bool halbtc8723b1ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
+static bool halbtc8723b1ant_IsCommonAction(struct BTC_COEXIST *pBtCoexist)
{
bool bCommon = false, bWifiConnected = false, bWifiBusy = false;
@@ -1752,7 +1752,7 @@ static bool halbtc8723b1ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
- struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
+ struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
)
{
static s32 up, dn, m, n, WaitCount;
@@ -1941,7 +1941,7 @@ static void halbtc8723b1ant_TdmaDurationAdjustForAcl(
}
static void halbtc8723b1ant_PsTdmaCheckForPowerSaveState(
- struct BTC_COEXIST * pBtCoexist, bool bNewPsState
+ struct BTC_COEXIST *pBtCoexist, bool bNewPsState
)
{
u8 lpsMode = 0x0;
@@ -1963,7 +1963,7 @@ static void halbtc8723b1ant_PsTdmaCheckForPowerSaveState(
}
static void halbtc8723b1ant_PowerSaveState(
- struct BTC_COEXIST * pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
+ struct BTC_COEXIST *pBtCoexist, u8 psType, u8 lpsVal, u8 rpwmVal
)
{
bool bLowPwrDisable = false;
@@ -2011,7 +2011,7 @@ static void halbtc8723b1ant_PowerSaveState(
/* Non-Software Coex Mechanism start */
/* */
/* */
-static void halbtc8723b1ant_ActionWifiMultiPort(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionWifiMultiPort(struct BTC_COEXIST *pBtCoexist)
{
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2019,15 +2019,15 @@ static void halbtc8723b1ant_ActionWifiMultiPort(struct BTC_COEXIST * pBtCoexist)
halbtc8723b1ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 2);
}
-static void halbtc8723b1ant_ActionHs(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionHs(struct BTC_COEXIST *pBtCoexist)
{
halbtc8723b1ant_PsTdma(pBtCoexist, NORMAL_EXEC, true, 5);
halbtc8723b1ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 2);
}
-static void halbtc8723b1ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionBtInquiry(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bWifiConnected = false;
bool bApEnable = false;
bool bWifiBusy = false;
@@ -2067,10 +2067,10 @@ static void halbtc8723b1ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
}
static void halbtc8723b1ant_ActionBtScoHidOnlyBusy(
- struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
+ struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bWifiConnected = false;
pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_WIFI_CONNECTED, &bWifiConnected);
@@ -2087,12 +2087,12 @@ static void halbtc8723b1ant_ActionBtScoHidOnlyBusy(
}
static void halbtc8723b1ant_ActionWifiConnectedBtAclBusy(
- struct BTC_COEXIST * pBtCoexist, u8 wifiStatus
+ struct BTC_COEXIST *pBtCoexist, u8 wifiStatus
)
{
u8 btRssiState;
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
btRssiState = halbtc8723b1ant_BtRssiState(2, 28, 0);
if ((pCoexSta->lowPriorityRx >= 1000) && (pCoexSta->lowPriorityRx != 65535))
@@ -2141,7 +2141,7 @@ static void halbtc8723b1ant_ActionWifiConnectedBtAclBusy(
}
}
-static void halbtc8723b1ant_ActionWifiNotConnected(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionWifiNotConnected(struct BTC_COEXIST *pBtCoexist)
{
/* power save state */
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2152,10 +2152,10 @@ static void halbtc8723b1ant_ActionWifiNotConnected(struct BTC_COEXIST * pBtCoexi
}
static void halbtc8723b1ant_ActionWifiNotConnectedScan(
- struct BTC_COEXIST * pBtCoexist
+ struct BTC_COEXIST *pBtCoexist
)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2186,10 +2186,10 @@ static void halbtc8723b1ant_ActionWifiNotConnectedScan(
}
static void halbtc8723b1ant_ActionWifiNotConnectedAssoAuth(
- struct BTC_COEXIST * pBtCoexist
+ struct BTC_COEXIST *pBtCoexist
)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2210,9 +2210,9 @@ static void halbtc8723b1ant_ActionWifiNotConnectedAssoAuth(
}
}
-static void halbtc8723b1ant_ActionWifiConnectedScan(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionWifiConnectedScan(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2243,10 +2243,10 @@ static void halbtc8723b1ant_ActionWifiConnectedScan(struct BTC_COEXIST * pBtCoex
}
static void halbtc8723b1ant_ActionWifiConnectedSpecialPacket(
- struct BTC_COEXIST * pBtCoexist
+ struct BTC_COEXIST *pBtCoexist
)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
halbtc8723b1ant_PowerSaveState(pBtCoexist, BTC_PS_WIFI_NATIVE, 0x0, 0x0);
@@ -2267,7 +2267,7 @@ static void halbtc8723b1ant_ActionWifiConnectedSpecialPacket(
}
}
-static void halbtc8723b1ant_ActionWifiConnected(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_ActionWifiConnected(struct BTC_COEXIST *pBtCoexist)
{
bool bWifiBusy = false;
bool bScan = false, bLink = false, bRoam = false;
@@ -2387,7 +2387,7 @@ static void halbtc8723b1ant_ActionWifiConnected(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b1ant_RunSwCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_RunSwCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
{
u8 algorithm = 0;
@@ -2446,9 +2446,9 @@ static void halbtc8723b1ant_RunSwCoexistMechanism(struct BTC_COEXIST * pBtCoexis
}
}
-static void halbtc8723b1ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_RunCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bWifiConnected = false, bBtHsOn = false;
bool bIncreaseScanDevNum = false;
bool bBtCtrlAggBufSize = false;
@@ -2579,7 +2579,7 @@ static void halbtc8723b1ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
halbtc8723b1ant_ActionWifiConnected(pBtCoexist);
}
-static void halbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
{
/* force to reset coex mechanism */
@@ -2593,7 +2593,7 @@ static void halbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
}
static void halbtc8723b1ant_InitHwConfig(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bBackUp,
bool bWifiOnly
)
@@ -2648,9 +2648,9 @@ static void halbtc8723b1ant_InitHwConfig(
/* */
/* extern function start with EXhalbtc8723b1ant_ */
/* */
-void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
u8 u1Tmp = 0x0;
u16 u2Tmp = 0x0;
@@ -2700,12 +2700,12 @@ void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
}
}
-void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly)
+void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly)
{
halbtc8723b1ant_InitHwConfig(pBtCoexist, true, bWifiOnly);
}
-void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
{
BTC_PRINT(
BTC_MSG_INTERFACE,
@@ -2720,11 +2720,11 @@ void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
halbtc8723b1ant_QueryBtInfo(pBtCoexist);
}
-void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
- struct BTC_STACK_INFO * pStackInfo = &pBtCoexist->stackInfo;
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_STACK_INFO *pStackInfo = &pBtCoexist->stackInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
u8 *cliBuf = pBtCoexist->cliBuf;
u8 u1Tmp[4], i, btInfoExt, psTdmaCase = 0;
u16 u2Tmp[4];
@@ -3183,7 +3183,7 @@ void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
}
-void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (pBtCoexist->bManualControl || pBtCoexist->bStopCoexDm)
return;
@@ -3209,7 +3209,7 @@ void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (pBtCoexist->bManualControl || pBtCoexist->bStopCoexDm)
return;
@@ -3227,7 +3227,7 @@ void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
bool bWifiConnected = false, bBtHsOn = false;
u32 wifiLinkStatus = 0;
@@ -3317,7 +3317,7 @@ void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
bool bWifiConnected = false, bBtHsOn = false;
u32 wifiLinkStatus = 0;
@@ -3374,7 +3374,7 @@ void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
u8 H2C_Parameter[3] = {0};
u32 wifiBw;
@@ -3444,7 +3444,7 @@ void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 typ
pBtCoexist->fBtcFillH2c(pBtCoexist, 0x66, 3, H2C_Parameter);
}
-void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
bool bBtHsOn = false;
u32 wifiLinkStatus = 0;
@@ -3533,7 +3533,7 @@ void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 t
}
void EXhalbtc8723b1ant_BtInfoNotify(
- struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
+ struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
)
{
u8 btInfo = 0;
@@ -3698,7 +3698,7 @@ void EXhalbtc8723b1ant_BtInfoNotify(
halbtc8723b1ant_RunCoexistMechanism(pBtCoexist);
}
-void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST *pBtCoexist)
{
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Halt notify\n"));
@@ -3713,7 +3713,7 @@ void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->bStopCoexDm = true;
}
-void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
+void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
{
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Pnp notify\n"));
@@ -3735,7 +3735,7 @@ void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
}
}
-void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST *pBtCoexist)
{
static u8 disVerInfoCnt;
u32 fwVer = 0, btPatchVer = 0;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 03/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
2021-03-15 17:05 ` [PATCH 01/57] Staging: rtl8723bs: fix spaces in rtw_cmd.c Marco Cesati
2021-03-15 17:05 ` [PATCH 02/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 04/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.c Marco Cesati
` (54 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#170: FILE: ./hal/HalBtc8723b1Ant.h:170:
+void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#171: FILE: ./hal/HalBtc8723b1Ant.h:171:
+void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#172: FILE: ./hal/HalBtc8723b1Ant.h:172:
+void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#173: FILE: ./hal/HalBtc8723b1Ant.h:173:
+void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#174: FILE: ./hal/HalBtc8723b1Ant.h:174:
+void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#175: FILE: ./hal/HalBtc8723b1Ant.h:175:
+void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#176: FILE: ./hal/HalBtc8723b1Ant.h:176:
+void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#177: FILE: ./hal/HalBtc8723b1Ant.h:177:
+void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#178: FILE: ./hal/HalBtc8723b1Ant.h:178:
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#180: FILE: ./hal/HalBtc8723b1Ant.h:180:
+ struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#182: FILE: ./hal/HalBtc8723b1Ant.h:182:
+void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#183: FILE: ./hal/HalBtc8723b1Ant.h:183:
+void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#184: FILE: ./hal/HalBtc8723b1Ant.h:184:
+void EXhalbtc8723b1ant_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 <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
index a104d138eb63..b26a169e5088 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h
@@ -167,19 +167,19 @@ struct COEX_STA_8723B_1ANT {
/* */
/* The following is interface which will notify coex module. */
/* */
-void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly);
-void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b1ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly);
+void EXhalbtc8723b1ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b1ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b1ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
void EXhalbtc8723b1ant_BtInfoNotify(
- struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
+ struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
);
-void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState);
-void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist);
+void EXhalbtc8723b1ant_HaltNotify(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b1ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
+void EXhalbtc8723b1ant_Periodical(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b1ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 04/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (2 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 03/57] Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 05/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.h Marco Cesati
` (53 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#19: FILE: ./hal/HalBtc8723b2Ant.c:19:
+static struct COEX_DM_8723B_2ANT * pCoexDm = &GLCoexDm8723b2Ant;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#21: FILE: ./hal/HalBtc8723b2Ant.c:21:
+static struct COEX_STA_8723B_2ANT * pCoexSta = &GLCoexSta8723b2Ant;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#111: FILE: ./hal/HalBtc8723b2Ant.c:111:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#192: FILE: ./hal/HalBtc8723b2Ant.c:192:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#215: FILE: ./hal/HalBtc8723b2Ant.c:215:
+static void halbtc8723b2ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#265: FILE: ./hal/HalBtc8723b2Ant.c:265:
+static void halbtc8723b2ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#282: FILE: ./hal/HalBtc8723b2Ant.c:282:
+static bool halbtc8723b2ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#313: FILE: ./hal/HalBtc8723b2Ant.c:313:
+static void halbtc8723b2ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#315: FILE: ./hal/HalBtc8723b2Ant.c:315:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#377: FILE: ./hal/HalBtc8723b2Ant.c:377:
+static u8 halbtc8723b2ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#379: FILE: ./hal/HalBtc8723b2Ant.c:379:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#552: FILE: ./hal/HalBtc8723b2Ant.c:552:
+ struct BTC_COEXIST * pBtCoexist, u8 dacSwingLvl
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#576: FILE: ./hal/HalBtc8723b2Ant.c:576:
+ struct BTC_COEXIST * pBtCoexist, u8 decBtPwrLvl
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#597: FILE: ./hal/HalBtc8723b2Ant.c:597:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 decBtPwrLvl
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#631: FILE: ./hal/HalBtc8723b2Ant.c:631:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 fwDacSwingLvl
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#666: FILE: ./hal/HalBtc8723b2Ant.c:666:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#689: FILE: ./hal/HalBtc8723b2Ant.c:689:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bRxRfShrinkOn
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#723: FILE: ./hal/HalBtc8723b2Ant.c:723:
+ struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRa
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#751: FILE: ./hal/HalBtc8723b2Ant.c:751:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bLowPenaltyRa
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#785: FILE: ./hal/HalBtc8723b2Ant.c:785:
+static void halbtc8723b2ant_SetDacSwingReg(struct BTC_COEXIST * pBtCoexist, u32 level)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#798: FILE: ./hal/HalBtc8723b2Ant.c:798:
+ struct BTC_COEXIST * pBtCoexist, bool bSwDacSwingOn, u32 swDacSwingLvl
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#809: FILE: ./hal/HalBtc8723b2Ant.c:809:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#853: FILE: ./hal/HalBtc8723b2Ant.c:853:
+ struct BTC_COEXIST * pBtCoexist, bool bAgcTableEn
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#913: FILE: ./hal/HalBtc8723b2Ant.c:913:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bAgcTableEn
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#947: FILE: ./hal/HalBtc8723b2Ant.c:947:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#984: FILE: ./hal/HalBtc8723b2Ant.c:984:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1050: FILE: ./hal/HalBtc8723b2Ant.c:1050:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1099: FILE: ./hal/HalBtc8723b2Ant.c:1099:
+ struct BTC_COEXIST * pBtCoexist, bool bEnable
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1120: FILE: ./hal/HalBtc8723b2Ant.c:1120:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bEnable
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1148: FILE: ./hal/HalBtc8723b2Ant.c:1148:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1187: FILE: ./hal/HalBtc8723b2Ant.c:1187:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1199: FILE: ./hal/HalBtc8723b2Ant.c:1199:
+ struct BTC_COEXIST * pBtCoexist,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1211: FILE: ./hal/HalBtc8723b2Ant.c:1211:
+ struct BTC_COEXIST * pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1214: FILE: ./hal/HalBtc8723b2Ant.c:1214:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1305: FILE: ./hal/HalBtc8723b2Ant.c:1305:
+ struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1437: FILE: ./hal/HalBtc8723b2Ant.c:1437:
+static void halbtc8723b2ant_CoexAllOff(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1453: FILE: ./hal/HalBtc8723b2Ant.c:1453:
+static void halbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1465: FILE: ./hal/HalBtc8723b2Ant.c:1465:
+static void halbtc8723b2ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1493: FILE: ./hal/HalBtc8723b2Ant.c:1493:
+static bool halbtc8723b2ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1594: FILE: ./hal/HalBtc8723b2Ant.c:1594:
+ struct BTC_COEXIST * pBtCoexist, bool bScoHid, bool bTxPause, u8 maxInterval
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2044: FILE: ./hal/HalBtc8723b2Ant.c:2044:
+static void halbtc8723b2ant_ActionSco(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2099: FILE: ./hal/HalBtc8723b2Ant.c:2099:
+static void halbtc8723b2ant_ActionHid(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2160: FILE: ./hal/HalBtc8723b2Ant.c:2160:
+static void halbtc8723b2ant_ActionA2dp(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2241: FILE: ./hal/HalBtc8723b2Ant.c:2241:
+static void halbtc8723b2ant_ActionA2dpPanHs(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2291: FILE: ./hal/HalBtc8723b2Ant.c:2291:
+static void halbtc8723b2ant_ActionPanEdr(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2349: FILE: ./hal/HalBtc8723b2Ant.c:2349:
+static void halbtc8723b2ant_ActionPanHs(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2399: FILE: ./hal/HalBtc8723b2Ant.c:2399:
+static void halbtc8723b2ant_ActionPanEdrA2dp(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2460: FILE: ./hal/HalBtc8723b2Ant.c:2460:
+static void halbtc8723b2ant_ActionPanEdrHid(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2524: FILE: ./hal/HalBtc8723b2Ant.c:2524:
+static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2584: FILE: ./hal/HalBtc8723b2Ant.c:2584:
+static void halbtc8723b2ant_ActionHidA2dp(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2659: FILE: ./hal/HalBtc8723b2Ant.c:2659:
+static void halbtc8723b2ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2758: FILE: ./hal/HalBtc8723b2Ant.c:2758:
+static void halbtc8723b2ant_WifiOffHwCfg(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2783: FILE: ./hal/HalBtc8723b2Ant.c:2783:
+static void halbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bBackUp)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2817: FILE: ./hal/HalBtc8723b2Ant.c:2817:
+void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2819: FILE: ./hal/HalBtc8723b2Ant.c:2819:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2869: FILE: ./hal/HalBtc8723b2Ant.c:2869:
+void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2874: FILE: ./hal/HalBtc8723b2Ant.c:2874:
+void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2881: FILE: ./hal/HalBtc8723b2Ant.c:2881:
+void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2883: FILE: ./hal/HalBtc8723b2Ant.c:2883:
+ struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2884: FILE: ./hal/HalBtc8723b2Ant.c:2884:
+ struct BTC_STACK_INFO * pStackInfo = &pBtCoexist->stackInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2885: FILE: ./hal/HalBtc8723b2Ant.c:2885:
+ struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3262: FILE: ./hal/HalBtc8723b2Ant.c:3262:
+void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3279: FILE: ./hal/HalBtc8723b2Ant.c:3279:
+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)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3299: FILE: ./hal/HalBtc8723b2Ant.c:3299:
+void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3308: FILE: ./hal/HalBtc8723b2Ant.c:3308:
+void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3354: FILE: ./hal/HalBtc8723b2Ant.c:3354:
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3362: FILE: ./hal/HalBtc8723b2Ant.c:3362:
+ struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3506: FILE: ./hal/HalBtc8723b2Ant.c:3506:
+void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3517: FILE: ./hal/HalBtc8723b2Ant.c:3517:
+void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#3531: FILE: ./hal/HalBtc8723b2Ant.c:3531:
+void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST * pBtCoexist)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 142 +++++++++---------
1 file changed, 71 insertions(+), 71 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
index cd09e6e288fc..8d5f666b2e23 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
@@ -16,9 +16,9 @@ do { \
/* Global variables, these are static variables */
static struct COEX_DM_8723B_2ANT GLCoexDm8723b2Ant;
-static struct COEX_DM_8723B_2ANT * pCoexDm = &GLCoexDm8723b2Ant;
+static struct COEX_DM_8723B_2ANT *pCoexDm = &GLCoexDm8723b2Ant;
static struct COEX_STA_8723B_2ANT GLCoexSta8723b2Ant;
-static struct COEX_STA_8723B_2ANT * pCoexSta = &GLCoexSta8723b2Ant;
+static struct COEX_STA_8723B_2ANT *pCoexSta = &GLCoexSta8723b2Ant;
static const char *const GLBtInfoSrc8723b2Ant[] = {
"BT Info[wifi fw]",
@@ -108,7 +108,7 @@ static u8 halbtc8723b2ant_BtRssiState(
}
static u8 halbtc8723b2ant_WifiRssiState(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
u8 index,
u8 levelNum,
u8 rssiThresh,
@@ -189,7 +189,7 @@ static u8 halbtc8723b2ant_WifiRssiState(
}
static void halbtc8723b2ant_LimitedRx(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
bool bRejApAggPkt,
bool bBtCtrlAggBufSize,
@@ -212,7 +212,7 @@ static void halbtc8723b2ant_LimitedRx(
pBtCoexist->fBtcSet(pBtCoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL);
}
-static void halbtc8723b2ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_MonitorBtCtr(struct BTC_COEXIST *pBtCoexist)
{
u32 regHPTxRx, regLPTxRx, u4Tmp;
u32 regHPTx = 0, regHPRx = 0, regLPTx = 0, regLPRx = 0;
@@ -262,7 +262,7 @@ static void halbtc8723b2ant_MonitorBtCtr(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->fBtcWrite1Byte(pBtCoexist, 0x76e, 0xc);
}
-static void halbtc8723b2ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_QueryBtInfo(struct BTC_COEXIST *pBtCoexist)
{
u8 H2C_Parameter[1] = {0};
@@ -279,7 +279,7 @@ static void halbtc8723b2ant_QueryBtInfo(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->fBtcFillH2c(pBtCoexist, 0x61, 1, H2C_Parameter);
}
-static bool halbtc8723b2ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
+static bool halbtc8723b2ant_IsWifiStatusChanged(struct BTC_COEXIST *pBtCoexist)
{
static bool bPreWifiBusy, bPreUnder4way, bPreBtHsOn;
bool bWifiBusy = false, bUnder4way = false, bBtHsOn = false;
@@ -310,9 +310,9 @@ static bool halbtc8723b2ant_IsWifiStatusChanged(struct BTC_COEXIST * pBtCoexist)
return false;
}
-static void halbtc8723b2ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_UpdateBtLinkInfo(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bBtHsOn = false;
pBtCoexist->fBtcGet(pBtCoexist, BTC_GET_BL_HS_OPERATION, &bBtHsOn);
@@ -374,9 +374,9 @@ static void halbtc8723b2ant_UpdateBtLinkInfo(struct BTC_COEXIST * pBtCoexist)
pBtLinkInfo->bHidOnly = false;
}
-static u8 halbtc8723b2ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
+static u8 halbtc8723b2ant_ActionAlgorithm(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
bool bBtHsOn = false;
u8 algorithm = BT_8723B_2ANT_COEX_ALGO_UNDEFINED;
u8 numOfDiffProfile = 0;
@@ -549,7 +549,7 @@ static u8 halbtc8723b2ant_ActionAlgorithm(struct BTC_COEXIST * pBtCoexist)
}
static void halbtc8723b2ant_SetFwDacSwingLevel(
- struct BTC_COEXIST * pBtCoexist, u8 dacSwingLvl
+ struct BTC_COEXIST *pBtCoexist, u8 dacSwingLvl
)
{
u8 H2C_Parameter[1] = {0};
@@ -573,7 +573,7 @@ static void halbtc8723b2ant_SetFwDacSwingLevel(
}
static void halbtc8723b2ant_SetFwDecBtPwr(
- struct BTC_COEXIST * pBtCoexist, u8 decBtPwrLvl
+ struct BTC_COEXIST *pBtCoexist, u8 decBtPwrLvl
)
{
u8 H2C_Parameter[1] = {0};
@@ -594,7 +594,7 @@ static void halbtc8723b2ant_SetFwDecBtPwr(
}
static void halbtc8723b2ant_DecBtPwr(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 decBtPwrLvl
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 decBtPwrLvl
)
{
BTC_PRINT(
@@ -628,7 +628,7 @@ static void halbtc8723b2ant_DecBtPwr(
}
static void halbtc8723b2ant_FwDacSwingLvl(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 fwDacSwingLvl
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 fwDacSwingLvl
)
{
BTC_PRINT(
@@ -663,7 +663,7 @@ static void halbtc8723b2ant_FwDacSwingLvl(
}
static void halbtc8723b2ant_SetSwRfRxLpfCorner(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bRxRfShrinkOn
)
{
@@ -686,7 +686,7 @@ static void halbtc8723b2ant_SetSwRfRxLpfCorner(
}
static void halbtc8723b2ant_RfShrink(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bRxRfShrinkOn
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bRxRfShrinkOn
)
{
BTC_PRINT(
@@ -720,7 +720,7 @@ static void halbtc8723b2ant_RfShrink(
}
static void halbtc8723b2ant_SetSwPenaltyTxRateAdaptive(
- struct BTC_COEXIST * pBtCoexist, bool bLowPenaltyRa
+ struct BTC_COEXIST *pBtCoexist, bool bLowPenaltyRa
)
{
u8 H2C_Parameter[6] = {0};
@@ -748,7 +748,7 @@ static void halbtc8723b2ant_SetSwPenaltyTxRateAdaptive(
}
static void halbtc8723b2ant_LowPenaltyRa(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bLowPenaltyRa
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bLowPenaltyRa
)
{
/* return; */
@@ -782,7 +782,7 @@ static void halbtc8723b2ant_LowPenaltyRa(
pCoexDm->bPreLowPenaltyRa = pCoexDm->bCurLowPenaltyRa;
}
-static void halbtc8723b2ant_SetDacSwingReg(struct BTC_COEXIST * pBtCoexist, u32 level)
+static void halbtc8723b2ant_SetDacSwingReg(struct BTC_COEXIST *pBtCoexist, u32 level)
{
u8 val = (u8)level;
@@ -795,7 +795,7 @@ static void halbtc8723b2ant_SetDacSwingReg(struct BTC_COEXIST * pBtCoexist, u32
}
static void halbtc8723b2ant_SetSwFullTimeDacSwing(
- struct BTC_COEXIST * pBtCoexist, bool bSwDacSwingOn, u32 swDacSwingLvl
+ struct BTC_COEXIST *pBtCoexist, bool bSwDacSwingOn, u32 swDacSwingLvl
)
{
if (bSwDacSwingOn)
@@ -806,7 +806,7 @@ static void halbtc8723b2ant_SetSwFullTimeDacSwing(
static void halbtc8723b2ant_DacSwing(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
bool bDacSwingOn,
u32 dacSwingLvl
@@ -850,7 +850,7 @@ static void halbtc8723b2ant_DacSwing(
}
static void halbtc8723b2ant_SetAgcTable(
- struct BTC_COEXIST * pBtCoexist, bool bAgcTableEn
+ struct BTC_COEXIST *pBtCoexist, bool bAgcTableEn
)
{
u8 rssiAdjustVal = 0;
@@ -910,7 +910,7 @@ static void halbtc8723b2ant_SetAgcTable(
}
static void halbtc8723b2ant_AgcTable(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bAgcTableEn
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bAgcTableEn
)
{
BTC_PRINT(
@@ -944,7 +944,7 @@ static void halbtc8723b2ant_AgcTable(
}
static void halbtc8723b2ant_SetCoexTable(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
u32 val0x6c0,
u32 val0x6c4,
u32 val0x6c8,
@@ -981,7 +981,7 @@ static void halbtc8723b2ant_SetCoexTable(
}
static void halbtc8723b2ant_CoexTable(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bForceExec,
u32 val0x6c0,
u32 val0x6c4,
@@ -1047,7 +1047,7 @@ static void halbtc8723b2ant_CoexTable(
}
static void halbtc8723b2ant_CoexTableWithType(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, u8 type
)
{
switch (type) {
@@ -1096,7 +1096,7 @@ static void halbtc8723b2ant_CoexTableWithType(
}
static void halbtc8723b2ant_SetFwIgnoreWlanAct(
- struct BTC_COEXIST * pBtCoexist, bool bEnable
+ struct BTC_COEXIST *pBtCoexist, bool bEnable
)
{
u8 H2C_Parameter[1] = {0};
@@ -1117,7 +1117,7 @@ static void halbtc8723b2ant_SetFwIgnoreWlanAct(
}
static void halbtc8723b2ant_IgnoreWlanAct(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bEnable
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bEnable
)
{
BTC_PRINT(
@@ -1145,7 +1145,7 @@ static void halbtc8723b2ant_IgnoreWlanAct(
}
static void halbtc8723b2ant_SetFwPstdma(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
u8 byte1,
u8 byte2,
u8 byte3,
@@ -1184,7 +1184,7 @@ static void halbtc8723b2ant_SetFwPstdma(
}
static void halbtc8723b2ant_SwMechanism1(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bShrinkRxLPF,
bool bLowPenaltyRA,
bool bLimitedDIG,
@@ -1196,7 +1196,7 @@ static void halbtc8723b2ant_SwMechanism1(
}
static void halbtc8723b2ant_SwMechanism2(
- struct BTC_COEXIST * pBtCoexist,
+ struct BTC_COEXIST *pBtCoexist,
bool bAGCTableShift,
bool bADCBackOff,
bool bSWDACSwing,
@@ -1208,10 +1208,10 @@ static void halbtc8723b2ant_SwMechanism2(
}
static void halbtc8723b2ant_SetAntPath(
- struct BTC_COEXIST * pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
+ struct BTC_COEXIST *pBtCoexist, u8 antPosType, bool bInitHwCfg, bool bWifiOff
)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
u32 fwVer = 0, u4Tmp = 0;
bool bPgExtSwitch = false;
bool bUseExtSwitch = false;
@@ -1302,7 +1302,7 @@ static void halbtc8723b2ant_SetAntPath(
}
static void halbtc8723b2ant_PsTdma(
- struct BTC_COEXIST * pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
+ struct BTC_COEXIST *pBtCoexist, bool bForceExec, bool bTurnOn, u8 type
)
{
BTC_PRINT(
@@ -1434,7 +1434,7 @@ static void halbtc8723b2ant_PsTdma(
pCoexDm->prePsTdma = pCoexDm->curPsTdma;
}
-static void halbtc8723b2ant_CoexAllOff(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_CoexAllOff(struct BTC_COEXIST *pBtCoexist)
{
/* fw all off */
halbtc8723b2ant_PsTdma(pBtCoexist, NORMAL_EXEC, false, 1);
@@ -1450,7 +1450,7 @@ static void halbtc8723b2ant_CoexAllOff(struct BTC_COEXIST * pBtCoexist)
halbtc8723b2ant_CoexTableWithType(pBtCoexist, NORMAL_EXEC, 0);
}
-static void halbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
{
/* force to reset coex mechanism */
@@ -1462,7 +1462,7 @@ static void halbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
halbtc8723b2ant_SwMechanism2(pBtCoexist, false, false, false, 0x18);
}
-static void halbtc8723b2ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionBtInquiry(struct BTC_COEXIST *pBtCoexist)
{
bool bWifiConnected = false;
bool bLowPwrDisable = true;
@@ -1490,7 +1490,7 @@ static void halbtc8723b2ant_ActionBtInquiry(struct BTC_COEXIST * pBtCoexist)
halbtc8723b2ant_SetAntPath(pBtCoexist, BTC_ANT_WIFI_AT_AUX, false, false);
}
-static bool halbtc8723b2ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
+static bool halbtc8723b2ant_IsCommonAction(struct BTC_COEXIST *pBtCoexist)
{
u8 btRssiState = BTC_RSSI_STATE_HIGH;
bool bCommon = false, bWifiConnected = false, bWifiBusy = false;
@@ -1591,7 +1591,7 @@ static bool halbtc8723b2ant_IsCommonAction(struct BTC_COEXIST * pBtCoexist)
}
static void halbtc8723b2ant_TdmaDurationAdjust(
- struct BTC_COEXIST * pBtCoexist, bool bScoHid, bool bTxPause, u8 maxInterval
+ struct BTC_COEXIST *pBtCoexist, bool bScoHid, bool bTxPause, u8 maxInterval
)
{
static s32 up, dn, m, n, WaitCount;
@@ -2041,7 +2041,7 @@ static void halbtc8723b2ant_TdmaDurationAdjust(
}
/* SCO only or SCO+PAN(HS) */
-static void halbtc8723b2ant_ActionSco(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionSco(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2096,7 +2096,7 @@ static void halbtc8723b2ant_ActionSco(struct BTC_COEXIST * pBtCoexist)
}
-static void halbtc8723b2ant_ActionHid(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionHid(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2157,7 +2157,7 @@ static void halbtc8723b2ant_ActionHid(struct BTC_COEXIST * pBtCoexist)
}
/* A2DP only / PAN(EDR) only/ A2DP+PAN(HS) */
-static void halbtc8723b2ant_ActionA2dp(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionA2dp(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, wifiRssiState1, btRssiState;
u32 wifiBw;
@@ -2238,7 +2238,7 @@ static void halbtc8723b2ant_ActionA2dp(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_ActionA2dpPanHs(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionA2dpPanHs(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2288,7 +2288,7 @@ static void halbtc8723b2ant_ActionA2dpPanHs(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_ActionPanEdr(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdr(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2346,7 +2346,7 @@ static void halbtc8723b2ant_ActionPanEdr(struct BTC_COEXIST * pBtCoexist)
/* PAN(HS) only */
-static void halbtc8723b2ant_ActionPanHs(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionPanHs(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2396,7 +2396,7 @@ static void halbtc8723b2ant_ActionPanHs(struct BTC_COEXIST * pBtCoexist)
}
/* PAN(EDR)+A2DP */
-static void halbtc8723b2ant_ActionPanEdrA2dp(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdrA2dp(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2457,7 +2457,7 @@ static void halbtc8723b2ant_ActionPanEdrA2dp(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_ActionPanEdrHid(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionPanEdrHid(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2521,7 +2521,7 @@ static void halbtc8723b2ant_ActionPanEdrHid(struct BTC_COEXIST * pBtCoexist)
}
/* HID+A2DP+PAN(EDR) */
-static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2581,7 +2581,7 @@ static void halbtc8723b2ant_ActionHidA2dpPanEdr(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_ActionHidA2dp(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_ActionHidA2dp(struct BTC_COEXIST *pBtCoexist)
{
u8 wifiRssiState, btRssiState;
u32 wifiBw;
@@ -2656,7 +2656,7 @@ static void halbtc8723b2ant_ActionHidA2dp(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_RunCoexistMechanism(struct BTC_COEXIST *pBtCoexist)
{
u8 algorithm = 0;
@@ -2755,7 +2755,7 @@ static void halbtc8723b2ant_RunCoexistMechanism(struct BTC_COEXIST * pBtCoexist)
}
}
-static void halbtc8723b2ant_WifiOffHwCfg(struct BTC_COEXIST * pBtCoexist)
+static void halbtc8723b2ant_WifiOffHwCfg(struct BTC_COEXIST *pBtCoexist)
{
bool bIsInMpMode = false;
u8 H2C_Parameter[2] = {0};
@@ -2780,7 +2780,7 @@ static void halbtc8723b2ant_WifiOffHwCfg(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->fBtcWrite1ByteBitMask(pBtCoexist, 0x67, 0x20, 0x1); /* BT select s0/s1 is controlled by WiFi */
}
-static void halbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bBackUp)
+static void halbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bBackUp)
{
u8 u1Tmp = 0;
@@ -2814,9 +2814,9 @@ static void halbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool b
/* */
/* extern function start with EXhalbtc8723b2ant_ */
/* */
-void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
u8 u1Tmp = 0x4; /* Set BIT2 by default since it's 2ant case */
u16 u2Tmp = 0x0;
@@ -2866,23 +2866,23 @@ void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
}
}
-void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly)
+void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly)
{
halbtc8723b2ant_InitHwConfig(pBtCoexist, true);
}
-void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
{
BTC_PRINT(BTC_MSG_INTERFACE, INTF_INIT, ("[BTCoex], Coex Mechanism Init!!\n"));
halbtc8723b2ant_InitCoexDm(pBtCoexist);
}
-void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist)
{
- struct BTC_BOARD_INFO * pBoardInfo = &pBtCoexist->boardInfo;
- struct BTC_STACK_INFO * pStackInfo = &pBtCoexist->stackInfo;
- struct BTC_BT_LINK_INFO * pBtLinkInfo = &pBtCoexist->btLinkInfo;
+ struct BTC_BOARD_INFO *pBoardInfo = &pBtCoexist->boardInfo;
+ struct BTC_STACK_INFO *pStackInfo = &pBtCoexist->stackInfo;
+ struct BTC_BT_LINK_INFO *pBtLinkInfo = &pBtCoexist->btLinkInfo;
u8 *cliBuf = pBtCoexist->cliBuf;
u8 u1Tmp[4], i, btInfoExt, psTdmaCase = 0;
u32 u4Tmp[4];
@@ -3259,7 +3259,7 @@ void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist)
}
-void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (BTC_IPS_ENTER == type) {
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], IPS ENTER notify\n"));
@@ -3276,7 +3276,7 @@ void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (BTC_LPS_ENABLE == type) {
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], LPS ENABLE notify\n"));
@@ -3287,7 +3287,7 @@ void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (BTC_SCAN_START == type) {
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], SCAN START notify\n"));
@@ -3296,7 +3296,7 @@ void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (BTC_ASSOCIATE_START == type) {
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], CONNECT START notify\n"));
@@ -3305,7 +3305,7 @@ void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
}
}
-void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
u8 H2C_Parameter[3] = {0};
u32 wifiBw;
@@ -3351,7 +3351,7 @@ void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 typ
pBtCoexist->fBtcFillH2c(pBtCoexist, 0x66, 3, H2C_Parameter);
}
-void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
if (type == BTC_PACKET_DHCP) {
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], DHCP Packet notify\n"));
@@ -3359,7 +3359,7 @@ void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 t
}
void EXhalbtc8723b2ant_BtInfoNotify(
- struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
+ struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
)
{
u8 btInfo = 0;
@@ -3503,7 +3503,7 @@ void EXhalbtc8723b2ant_BtInfoNotify(
halbtc8723b2ant_RunCoexistMechanism(pBtCoexist);
}
-void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST *pBtCoexist)
{
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Halt notify\n"));
@@ -3514,7 +3514,7 @@ void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST * pBtCoexist)
EXhalbtc8723b2ant_MediaStatusNotify(pBtCoexist, BTC_MEDIA_DISCONNECT);
}
-void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
+void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
{
BTC_PRINT(BTC_MSG_INTERFACE, INTF_NOTIFY, ("[BTCoex], Pnp notify\n"));
@@ -3528,7 +3528,7 @@ void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
}
}
-void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST *pBtCoexist)
{
static u8 disVerInfoCnt;
u32 fwVer = 0, btPatchVer = 0;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 05/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (3 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 04/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 06/57] Staging: rtl8723bs: fix spaces in HalBtcOutSrc.h Marco Cesati
` (52 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#132: FILE: ./hal/HalBtc8723b2Ant.h:132:
+void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#133: FILE: ./hal/HalBtc8723b2Ant.h:133:
+void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#134: FILE: ./hal/HalBtc8723b2Ant.h:134:
+void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#135: FILE: ./hal/HalBtc8723b2Ant.h:135:
+void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#136: FILE: ./hal/HalBtc8723b2Ant.h:136:
+void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#137: FILE: ./hal/HalBtc8723b2Ant.h:137:
+void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#138: FILE: ./hal/HalBtc8723b2Ant.h:138:
+void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#139: FILE: ./hal/HalBtc8723b2Ant.h:139:
+void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#140: FILE: ./hal/HalBtc8723b2Ant.h:140:
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#142: FILE: ./hal/HalBtc8723b2Ant.h:142:
+ struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#144: FILE: ./hal/HalBtc8723b2Ant.h:144:
+void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#145: FILE: ./hal/HalBtc8723b2Ant.h:145:
+void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#146: FILE: ./hal/HalBtc8723b2Ant.h:146:
+void EXhalbtc8723b2ant_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 <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/HalBtc8723b2Ant.h | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
index 6375acede94c..f9a885f4ab89 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h
@@ -129,19 +129,19 @@ struct COEX_STA_8723B_2ANT {
/* */
/* The following is interface which will notify coex module. */
/* */
-void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST * pBtCoexist, bool bWifiOnly);
-void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b2ant_InitHwConfig(struct BTC_COEXIST *pBtCoexist, bool bWifiOnly);
+void EXhalbtc8723b2ant_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b2ant_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtc8723b2ant_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
void EXhalbtc8723b2ant_BtInfoNotify(
- struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
+ struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
);
-void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState);
-void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST * pBtCoexist);
+void EXhalbtc8723b2ant_HaltNotify(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b2ant_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
+void EXhalbtc8723b2ant_Periodical(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtc8723b2ant_DisplayCoexInfo(struct BTC_COEXIST *pBtCoexist);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 06/57] Staging: rtl8723bs: fix spaces in HalBtcOutSrc.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (4 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 05/57] Staging: rtl8723bs: fix spaces in HalBtc8723b2Ant.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 07/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.c Marco Cesati
` (51 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#535: FILE: ./hal/HalBtcOutSrc.h:535:
+void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#536: FILE: ./hal/HalBtcOutSrc.h:536:
+void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#537: FILE: ./hal/HalBtcOutSrc.h:537:
+void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#538: FILE: ./hal/HalBtcOutSrc.h:538:
+void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#539: FILE: ./hal/HalBtcOutSrc.h:539:
+void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#540: FILE: ./hal/HalBtcOutSrc.h:540:
+void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#541: FILE: ./hal/HalBtcOutSrc.h:541:
+void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#543: FILE: ./hal/HalBtcOutSrc.h:543:
+ struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#545: FILE: ./hal/HalBtcOutSrc.h:545:
+void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#547: FILE: ./hal/HalBtcOutSrc.h:547:
+ struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#549: FILE: ./hal/HalBtcOutSrc.h:549:
+void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#550: FILE: ./hal/HalBtcOutSrc.h:550:
+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: "foo * bar" should be "foo *bar"
#555: FILE: ./hal/HalBtcOutSrc.h:555:
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 28 ++++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
index 6d60ad11588f..c38baf2bc412 100644
--- a/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
+++ b/drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h
@@ -532,26 +532,26 @@ struct BTC_COEXIST {
extern struct BTC_COEXIST GLBtCoexist;
-void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly);
-void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type);
-void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action);
+void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST *pBtCoexist, u8 bWifiOnly);
+void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type);
+void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 action);
void EXhalbtcoutsrc_MediaStatusNotify(
- struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus
+ struct BTC_COEXIST *pBtCoexist, enum RT_MEDIA_STATUS mediaStatus
);
-void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType);
+void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 pktType);
void EXhalbtcoutsrc_BtInfoNotify(
- struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length
+ struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length
);
-void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist);
-void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState);
-void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist);
+void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST *pBtCoexist);
+void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState);
+void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST *pBtCoexist);
void EXhalbtcoutsrc_SetChipType(u8 chipType);
void EXhalbtcoutsrc_SetAntNum(u8 type, u8 antNum);
void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath);
-void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist);
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST *pBtCoexist);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 07/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (5 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 06/57] Staging: rtl8723bs: fix spaces in HalBtcOutSrc.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 08/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.h Marco Cesati
` (50 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/HalHWImg8723B_BB.c:12:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#115: FILE: ./hal/HalHWImg8723B_BB.c:115:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#260: FILE: ./hal/HalHWImg8723B_BB.c:260:
+void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#529: FILE: ./hal/HalHWImg8723B_BB.c:529:
+void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
index a31ab66941ac..4faa9038417d 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
@@ -9,7 +9,7 @@
#include "odm_precomp.h"
static bool CheckPositive(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
u8 _BoardType =
@@ -112,7 +112,7 @@ static bool CheckPositive(
}
static bool CheckNegative(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
return true;
@@ -257,7 +257,7 @@ static u32 Array_MP_8723B_AGC_TAB[] = {
};
-void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_AGC_TAB(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_AGC_TAB);
@@ -526,7 +526,7 @@ static u32 Array_MP_8723B_PHY_REG[] = {
};
-void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_PHY_REG(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_PHY_REG);
@@ -606,7 +606,7 @@ static u32 Array_MP_8723B_PHY_REG_PG[] = {
0, 0, 0, 0x00000e14, 0xffffffff, 0x26303436
};
-void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 *Array = Array_MP_8723B_PHY_REG_PG;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 08/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (6 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 07/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 09/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.c Marco Cesati
` (49 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#18: FILE: ./hal/HalHWImg8723B_BB.h:18:
+ struct DM_ODM_T * pDM_Odm
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h
index 69485ce3a408..1cb572604206 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.h
@@ -15,7 +15,7 @@
void
ODM_ReadAndConfig_MP_8723B_AGC_TAB(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
/******************************************************************************
@@ -24,7 +24,7 @@ ODM_ReadAndConfig_MP_8723B_AGC_TAB(/* TC: Test Chip, MP: MP Chip */
void
ODM_ReadAndConfig_MP_8723B_PHY_REG(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
/******************************************************************************
@@ -33,7 +33,7 @@ ODM_ReadAndConfig_MP_8723B_PHY_REG(/* TC: Test Chip, MP: MP Chip */
void
ODM_ReadAndConfig_MP_8723B_PHY_REG_PG(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
u32 ODM_GetVersion_MP_8723B_PHY_REG_PG(void);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 09/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (7 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 08/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_BB.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 10/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.h Marco Cesati
` (48 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/HalHWImg8723B_MAC.c:12:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#114: FILE: ./hal/HalHWImg8723B_MAC.c:114:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#231: FILE: ./hal/HalHWImg8723B_MAC.c:231:
+void ODM_ReadAndConfig_MP_8723B_MAC_REG(struct DM_ODM_T * pDM_Odm)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
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/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
index 3408dee976a1..51d7bf3e6d83 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.c
@@ -9,7 +9,7 @@
#include "odm_precomp.h"
static bool CheckPositive(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
u8 _BoardType =
@@ -111,7 +111,7 @@ static bool CheckPositive(
}
static bool CheckNegative(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
return true;
@@ -228,7 +228,7 @@ static u32 Array_MP_8723B_MAC_REG[] = {
};
-void ODM_ReadAndConfig_MP_8723B_MAC_REG(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_MAC_REG(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_MAC_REG);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 10/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (8 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 09/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 11/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.c Marco Cesati
` (47 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h
index de7502232b7a..4ff8b7c28999 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_MAC.h
@@ -15,6 +15,6 @@
void
ODM_ReadAndConfig_MP_8723B_MAC_REG(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 11/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (9 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 10/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_MAC.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 12/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.h Marco Cesati
` (46 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/HalHWImg8723B_RF.c:12:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#124: FILE: ./hal/HalHWImg8723B_RF.c:124:
+ struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#262: FILE: ./hal/HalHWImg8723B_RF.c:262:
+void ODM_ReadAndConfig_MP_8723B_RadioA(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#423: FILE: ./hal/HalHWImg8723B_RF.c:423:
+void ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "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/HalHWImg8723B_RF.c:758:
+void ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(struct DM_ODM_T * pDM_Odm)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c
index 963a08fc9032..5f78a64ca737 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.c
@@ -9,7 +9,7 @@
#include "odm_precomp.h"
static bool CheckPositive(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
u8 _BoardType =
@@ -121,7 +121,7 @@ static bool CheckPositive(
}
static bool CheckNegative(
- struct DM_ODM_T * pDM_Odm, const u32 Condition1, const u32 Condition2
+ struct DM_ODM_T *pDM_Odm, const u32 Condition1, const u32 Condition2
)
{
return true;
@@ -259,7 +259,7 @@ static u32 Array_MP_8723B_RadioA[] = {
};
-void ODM_ReadAndConfig_MP_8723B_RadioA(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_RadioA(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u32 ArrayLen = ARRAY_SIZE(Array_MP_8723B_RadioA);
@@ -420,9 +420,9 @@ static u8 gDeltaSwingTableIdx_MP_2GCCKA_P_TxPowerTrack_SDIO_8723B[] = {
8, 8, 9, 9, 9, 10, 10, 11, 11, 12, 12, 13, 14, 15
};
-void ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO(struct DM_ODM_T *pDM_Odm)
{
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
ODM_RT_TRACE(
pDM_Odm,
@@ -755,7 +755,7 @@ static u8 *Array_MP_8723B_TXPWR_LMT[] = {
"MKK", "2.4G", "40M", "HT", "2T", "14", "63"
};
-void ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(struct DM_ODM_T * pDM_Odm)
+void ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(struct DM_ODM_T *pDM_Odm)
{
u32 i = 0;
u8 **Array = Array_MP_8723B_TXPWR_LMT;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 12/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (10 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 11/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 13/57] Staging: rtl8723bs: fix spaces in HalPhyRf.c Marco Cesati
` (45 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#18: FILE: ./hal/HalHWImg8723B_RF.h:18:
+ struct DM_ODM_T * pDM_Odm
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h
index 9f86f199d4fd..1bb266f34e7d 100644
--- a/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h
+++ b/drivers/staging/rtl8723bs/hal/HalHWImg8723B_RF.h
@@ -15,7 +15,7 @@
void
ODM_ReadAndConfig_MP_8723B_RadioA(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
/******************************************************************************
@@ -24,7 +24,7 @@ ODM_ReadAndConfig_MP_8723B_RadioA(/* TC: Test Chip, MP: MP Chip */
void
ODM_ReadAndConfig_MP_8723B_TxPowerTrack_SDIO(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
u32 ODM_GetVersion_MP_8723B_TxPowerTrack_SDIO(void);
@@ -34,7 +34,7 @@ u32 ODM_GetVersion_MP_8723B_TxPowerTrack_SDIO(void);
void
ODM_ReadAndConfig_MP_8723B_TXPWR_LMT(/* TC: Test Chip, MP: MP Chip */
- struct DM_ODM_T * pDM_Odm
+ struct DM_ODM_T *pDM_Odm
);
u32 ODM_GetVersion_MP_8723B_TXPWR_LMT(void);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 13/57] Staging: rtl8723bs: fix spaces in HalPhyRf.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (11 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 12/57] Staging: rtl8723bs: fix spaces in HalHWImg8723B_RF.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 14/57] Staging: rtl8723bs: fix spaces in HalPhyRf.h Marco Cesati
` (44 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#26: FILE: ./hal/HalPhyRf.c:26:
+void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#26: FILE: ./hal/HalPhyRf.c:26:
+void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#39: FILE: ./hal/HalPhyRf.c: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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalPhyRf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf.c b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
index 80ae4d0933f4..08064fd1d941 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf.c
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf.c
@@ -23,7 +23,7 @@
} while (0)
-void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig)
+void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct TXPWRTRACK_CFG *pConfig)
{
ConfigureTxpowerTrack_8723B(pConfig);
}
@@ -36,7 +36,7 @@ void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pC
/* NOTE: If Tx BB swing or Tx scaling is varified during run-time, still */
/* need to call this function. */
/* */
-void ODM_ClearTxPowerTrackingState(struct DM_ODM_T * pDM_Odm)
+void ODM_ClearTxPowerTrackingState(struct DM_ODM_T *pDM_Odm)
{
struct hal_com_data *pHalData = GET_HAL_DATA(pDM_Odm->Adapter);
u8 p = 0;
@@ -74,7 +74,7 @@ void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
u8 ThermalValue = 0, delta, delta_LCK, delta_IQK, p = 0, i = 0;
u8 ThermalValue_AVG_count = 0;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 14/57] Staging: rtl8723bs: fix spaces in HalPhyRf.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (12 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 13/57] Staging: rtl8723bs: fix spaces in HalPhyRf.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 15/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.c Marco Cesati
` (43 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#40: FILE: ./hal/HalPhyRf.h:40:
+void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#40: FILE: ./hal/HalPhyRf.h:40:
+void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#43: FILE: ./hal/HalPhyRf.h:43:
+void ODM_ClearTxPowerTrackingState(struct DM_ODM_T * pDM_Odm);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
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
index 93659222d678..eaa5bd2811a1 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf.h
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf.h
@@ -37,10 +37,10 @@ struct TXPWRTRACK_CFG {
FuncSwing GetDeltaSwingTable;
};
-void ConfigureTxpowerTrack(struct DM_ODM_T * pDM_Odm, struct TXPWRTRACK_CFG * pConfig);
+void ConfigureTxpowerTrack(struct DM_ODM_T *pDM_Odm, struct TXPWRTRACK_CFG *pConfig);
-void ODM_ClearTxPowerTrackingState(struct DM_ODM_T * pDM_Odm);
+void ODM_ClearTxPowerTrackingState(struct DM_ODM_T *pDM_Odm);
void ODM_TXPowerTrackingCallback_ThermalMeter(struct adapter *Adapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 15/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (13 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 14/57] Staging: rtl8723bs: fix spaces in HalPhyRf.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 16/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.h Marco Cesati
` (42 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#57: FILE: ./hal/HalPhyRf_8723B.c:57:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#138: FILE: ./hal/HalPhyRf_8723B.c:138:
+static void setCCKFilterCoefficient(struct DM_ODM_T * pDM_Odm, u8 CCKSwingIndex)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#162: FILE: ./hal/HalPhyRf_8723B.c:162:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#188: FILE: ./hal/HalPhyRf_8723B.c:188:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#363: FILE: ./hal/HalPhyRf_8723B.c:363:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#371: FILE: ./hal/HalPhyRf_8723B.c:371:
+ struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#412: FILE: ./hal/HalPhyRf_8723B.c:412:
+void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG * pConfig)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#440: FILE: ./hal/HalPhyRf_8723B.c:440:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#551: FILE: ./hal/HalPhyRf_8723B.c:551:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#765: FILE: ./hal/HalPhyRf_8723B.c:765:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#872: FILE: ./hal/HalPhyRf_8723B.c:872:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1095: FILE: ./hal/HalPhyRf_8723B.c:1095:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1097: FILE: ./hal/HalPhyRf_8723B.c:1097:
+ struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1175: FILE: ./hal/HalPhyRf_8723B.c:1175:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1177: FILE: ./hal/HalPhyRf_8723B.c:1177:
+ struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1250: FILE: ./hal/HalPhyRf_8723B.c:1250:
+void ODM_SetIQCbyRFpath(struct DM_ODM_T * pDM_Odm, u32 RFpath)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1253: FILE: ./hal/HalPhyRf_8723B.c:1253:
+ struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1295: FILE: ./hal/HalPhyRf_8723B.c:1295:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1313: FILE: ./hal/HalPhyRf_8723B.c:1313:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1333: FILE: ./hal/HalPhyRf_8723B.c:1333:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1363: FILE: ./hal/HalPhyRf_8723B.c:1363:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1387: FILE: ./hal/HalPhyRf_8723B.c:1387:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1492: FILE: ./hal/HalPhyRf_8723B.c:1492:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
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: ./hal/HalPhyRf_8723B.c:1787:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1833: FILE: ./hal/HalPhyRf_8723B.c:1833:
+ struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#2041: FILE: ./hal/HalPhyRf_8723B.c:2041:
+void PHY_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 54 +++++++++----------
1 file changed, 27 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
index dfff2bb56b63..50aabed8ace6 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.c
@@ -54,7 +54,7 @@ static u8 DeltaSwingTableIdx_2GA_P_8188E[] = {
static void setIqkMatrix_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 OFDM_index,
u8 RFPath,
s32 IqkResult_X,
@@ -135,7 +135,7 @@ static void setIqkMatrix_8723B(
}
-static void setCCKFilterCoefficient(struct DM_ODM_T * pDM_Odm, u8 CCKSwingIndex)
+static void setCCKFilterCoefficient(struct DM_ODM_T *pDM_Odm, u8 CCKSwingIndex)
{
if (!pDM_Odm->RFCalibrateInfo.bCCKinCH14) {
rtw_write8(pDM_Odm->Adapter, 0xa22, CCKSwingTable_Ch1_Ch13_New[CCKSwingIndex][0]);
@@ -159,7 +159,7 @@ static void setCCKFilterCoefficient(struct DM_ODM_T * pDM_Odm, u8 CCKSwingIndex)
}
void DoIQK_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 DeltaThermalIndex,
u8 ThermalValue,
u8 Threshold
@@ -185,7 +185,7 @@ void DoIQK_8723B(
*
*---------------------------------------------------------------------------*/
void ODM_TxPwrTrackSetPwr_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
enum PWRTRACK_METHOD Method,
u8 RFPath,
u8 ChannelMappedIndex
@@ -360,7 +360,7 @@ void ODM_TxPwrTrackSetPwr_8723B(
}
static void GetDeltaSwingTable_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 **TemperatureUP_A,
u8 **TemperatureDOWN_A,
u8 **TemperatureUP_B,
@@ -368,7 +368,7 @@ static void GetDeltaSwingTable_8723B(
)
{
struct adapter *Adapter = pDM_Odm->Adapter;
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
u16 rate = *(pDM_Odm->pForcedDataRate);
u8 channel = pHalData->CurrentChannel;
@@ -409,7 +409,7 @@ static void GetDeltaSwingTable_8723B(
}
-void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG * pConfig)
+void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG *pConfig)
{
pConfig->SwingTableSize_CCK = CCK_TABLE_SIZE;
pConfig->SwingTableSize_OFDM = OFDM_TABLE_SIZE;
@@ -437,7 +437,7 @@ static u8 phy_PathA_IQK_8723B(
u8 result = 0x00;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
/* Save RF Path */
Path_SEL_BB = PHY_QueryBBReg(pDM_Odm->Adapter, 0x948, bMaskDWord);
@@ -548,7 +548,7 @@ static u8 phy_PathA_RxIQK8723B(
u32 regEAC, regE94, regE9C, regEA4, u4tmp, tmp, Path_SEL_BB;
u8 result = 0x00;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
/* ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A Rx IQK!\n")); */
@@ -762,7 +762,7 @@ static u8 phy_PathB_IQK_8723B(struct adapter *padapter)
u32 regEAC, regE94, regE9C, tmp, Path_SEL_BB/*, regEC4, regECC, Path_SEL_BB*/;
u8 result = 0x00;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQK!\n"));
@@ -869,7 +869,7 @@ static u8 phy_PathB_RxIQK8723B(struct adapter *padapter, bool configPathB)
u32 regE94, regE9C, regEA4, regEAC, u4tmp, tmp, Path_SEL_BB;
u8 result = 0x00;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
/* ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B Rx IQK!\n")); */
@@ -1092,9 +1092,9 @@ static void _PHY_PathAFillIQKMatrix8723B(
u32 Oldval_0, X, TX0_A, reg;
s32 Y, TX0_C;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path A IQ Calibration %s !\n", (bIQKOK)?"Success":"Failed"));
@@ -1172,9 +1172,9 @@ static void _PHY_PathBFillIQKMatrix8723B(
u32 Oldval_1, X, TX1_A, reg;
s32 Y, TX1_C;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Path B IQ Calibration %s !\n", (bIQKOK)?"Success":"Failed"));
@@ -1247,10 +1247,10 @@ static void _PHY_PathBFillIQKMatrix8723B(
/* */
/* MP Already declare in odm.c */
-void ODM_SetIQCbyRFpath(struct DM_ODM_T * pDM_Odm, u32 RFpath)
+void ODM_SetIQCbyRFpath(struct DM_ODM_T *pDM_Odm, u32 RFpath)
{
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
if (
(pRFCalibrateInfo->TxIQC_8723B[PATH_S0][IDX_0xC80][VAL] != 0x0) &&
@@ -1292,7 +1292,7 @@ static void _PHY_SaveADDARegisters8723B(
{
u32 i;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
if (!ODM_CheckPowerStatus(padapter))
return;
@@ -1310,7 +1310,7 @@ static void _PHY_SaveMACRegisters8723B(
{
u32 i;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Save MAC parameters.\n"));
for (i = 0 ; i < (IQK_MAC_REG_NUM - 1); i++) {
@@ -1330,7 +1330,7 @@ static void _PHY_ReloadADDARegisters8723B(
{
u32 i;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("Reload ADDA power saving parameters !\n"));
for (i = 0 ; i < RegiesterNum; i++) {
@@ -1360,7 +1360,7 @@ static void _PHY_PathADDAOn8723B(
u32 pathOn;
u32 i;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("ADDA ON.\n"));
@@ -1384,7 +1384,7 @@ static void _PHY_MACSettingCalibration8723B(
{
u32 i = 0;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_CALIBRATION, ODM_DBG_LOUD, ("MAC settings for Calibration.\n"));
@@ -1489,7 +1489,7 @@ static void phy_IQCalibrate_8723B(
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
u32 i;
u8 PathAOK, PathBOK;
@@ -1697,7 +1697,7 @@ static void phy_IQCalibrate_8723B(
}
-static void phy_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm, bool is2T)
+static void phy_LCCalibrate_8723B(struct DM_ODM_T *pDM_Odm, bool is2T)
{
u8 tmpReg;
u32 RF_Amode = 0, RF_Bmode = 0, LC_Cal;
@@ -1784,7 +1784,7 @@ void PHY_IQCalibrate_8723B(
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
s32 result[4][8]; /* last is final result */
u8 i, final_candidate;
@@ -1830,7 +1830,7 @@ void PHY_IQCalibrate_8723B(
if (bRestore) {
u32 offset, data;
u8 path, bResult = SUCCESS;
- struct ODM_RF_CAL_T * pRFCalibrateInfo = &(pDM_Odm->RFCalibrateInfo);
+ struct ODM_RF_CAL_T *pRFCalibrateInfo = &pDM_Odm->RFCalibrateInfo;
path = (PHY_QueryBBReg(pDM_Odm->Adapter, rS0S1_PathSwitch, bMaskByte0) == 0x00) ? ODM_RF_PATH_A : ODM_RF_PATH_B;
@@ -2038,7 +2038,7 @@ void PHY_IQCalibrate_8723B(
}
-void PHY_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm)
+void PHY_LCCalibrate_8723B(struct DM_ODM_T *pDM_Odm)
{
bool bSingleTone = false, bCarrierSuppression = false;
u32 timeout = 2000, timecount = 0;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 16/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (14 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 15/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 17/57] Staging: rtl8723bs: fix spaces in hal_btcoex.c Marco Cesati
` (41 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#19: FILE: ./hal/HalPhyRf_8723B.h:19:
+void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG * pConfig);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#22: FILE: ./hal/HalPhyRf_8723B.h:22:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#29: FILE: ./hal/HalPhyRf_8723B.h:29:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "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 PHY_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
index 80cb446db5fa..5cd65a7cfebc 100644
--- a/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
+++ b/drivers/staging/rtl8723bs/hal/HalPhyRf_8723B.h
@@ -16,17 +16,17 @@
#define RF_T_METER_8723B 0x42 /* */
-void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG * pConfig);
+void ConfigureTxpowerTrack_8723B(struct TXPWRTRACK_CFG *pConfig);
void DoIQK_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 DeltaThermalIndex,
u8 ThermalValue,
u8 Threshold
);
void ODM_TxPwrTrackSetPwr_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
enum PWRTRACK_METHOD Method,
u8 RFPath,
u8 ChannelMappedIndex
@@ -41,12 +41,12 @@ void PHY_IQCalibrate_8723B(
u8 RF_Path
);
-void ODM_SetIQCbyRFpath(struct DM_ODM_T * pDM_Odm, u32 RFpath);
+void ODM_SetIQCbyRFpath(struct DM_ODM_T *pDM_Odm, u32 RFpath);
/* */
/* LC calibrate */
/* */
-void PHY_LCCalibrate_8723B(struct DM_ODM_T * pDM_Odm);
+void PHY_LCCalibrate_8723B(struct DM_ODM_T *pDM_Odm);
/* */
/* AP calibrate */
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 17/57] Staging: rtl8723bs: fix spaces in hal_btcoex.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (15 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 16/57] Staging: rtl8723bs: fix spaces in HalPhyRf_8723B.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 18/57] Staging: rtl8723bs: fix spaces in hal_com.c Marco Cesati
` (40 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#70: FILE: ./hal/hal_btcoex.c:70:
+static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#104: FILE: ./hal/hal_btcoex.c:104:
+static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#117: FILE: ./hal/hal_btcoex.c:117:
+static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#130: FILE: ./hal/hal_btcoex.c:130:
+static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#152: FILE: ./hal/hal_btcoex.c:152:
+static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#187: FILE: ./hal/hal_btcoex.c:187:
+static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#196: FILE: ./hal/hal_btcoex.c:196:
+static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLowPwrDisable)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#205: FILE: ./hal/hal_btcoex.c:205:
+static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#283: FILE: ./hal/hal_btcoex.c:283:
+static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#311: FILE: ./hal/hal_btcoex.c:311:
+static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#342: FILE: ./hal/hal_btcoex.c:342:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#448: FILE: ./hal/hal_btcoex.c:448:
+ struct RT_LINK_DETECT_T * plinkinfo;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#510: FILE: ./hal/hal_btcoex.c:510:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#645: FILE: ./hal/hal_btcoex.c:645:
+static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#661: FILE: ./hal/hal_btcoex.c:661:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#673: FILE: ./hal/hal_btcoex.c:673:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#685: FILE: ./hal/hal_btcoex.c:685:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#697: FILE: ./hal/hal_btcoex.c:697:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#709: FILE: ./hal/hal_btcoex.c:709:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#749: FILE: ./hal/hal_btcoex.c:749:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#761: FILE: ./hal/hal_btcoex.c:761:
+ struct BTC_COEXIST * pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#772: FILE: ./hal/hal_btcoex.c:772:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#785: FILE: ./hal/hal_btcoex.c:785:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#797: FILE: ./hal/hal_btcoex.c:797:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#809: FILE: ./hal/hal_btcoex.c:809:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#821: FILE: ./hal/hal_btcoex.c:821:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#857: FILE: ./hal/hal_btcoex.c:857:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#869: FILE: ./hal/hal_btcoex.c:869:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#891: FILE: ./hal/hal_btcoex.c:891:
+ struct BTC_COEXIST * pBtCoexist = &GLBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#917: FILE: ./hal/hal_btcoex.c:917:
+ struct BTC_COEXIST * pBtCoexist;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#963: FILE: ./hal/hal_btcoex.c:963:
+void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#975: FILE: ./hal/hal_btcoex.c:975:
+void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#988: FILE: ./hal/hal_btcoex.c:988:
+void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1003: FILE: ./hal/hal_btcoex.c:1003:
+void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1030: FILE: ./hal/hal_btcoex.c:1030:
+void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1053: FILE: ./hal/hal_btcoex.c:1053:
+void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1082: FILE: ./hal/hal_btcoex.c:1082:
+void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1108: FILE: ./hal/hal_btcoex.c:1108:
+void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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 BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1184: FILE: ./hal/hal_btcoex.c:1184:
+void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1197: FILE: ./hal/hal_btcoex.c:1197:
+void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1213: FILE: ./hal/hal_btcoex.c:1213:
+void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1258: FILE: ./hal/hal_btcoex.c:1258:
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist)
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_btcoex.c | 89 +++++++++++-----------
1 file changed, 45 insertions(+), 44 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
index 267b93765fe8..fb279b662122 100644
--- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c
+++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c
@@ -67,7 +67,7 @@ void DBG_BT_INFO(u8 *dbgmsg)
/* */
/* Debug related function */
/* */
-static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST * pBtCoexist)
+static u8 halbtcoutsrc_IsBtCoexistAvailable(struct BTC_COEXIST *pBtCoexist)
{
if (!pBtCoexist->bBinded || !pBtCoexist->Adapter)
return false;
@@ -101,7 +101,7 @@ static void halbtcoutsrc_DbgInit(void)
0;
}
-static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
@@ -114,7 +114,7 @@ static void halbtcoutsrc_LeaveLps(struct BTC_COEXIST * pBtCoexist)
rtw_btcoex_LPS_Leave(padapter);
}
-static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_EnterLps(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
@@ -127,7 +127,7 @@ static void halbtcoutsrc_EnterLps(struct BTC_COEXIST * pBtCoexist)
rtw_btcoex_LPS_Enter(padapter);
}
-static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_NormalLps(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
@@ -149,7 +149,7 @@ static void halbtcoutsrc_NormalLps(struct BTC_COEXIST * pBtCoexist)
* Constraint:
* 1. this function will request pwrctrl->lock
*/
-static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
s32 ready;
@@ -184,7 +184,7 @@ static void halbtcoutsrc_LeaveLowPower(struct BTC_COEXIST * pBtCoexist)
* Constraint:
* 1. this function will request pwrctrl->lock
*/
-static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
@@ -193,7 +193,7 @@ static void halbtcoutsrc_NormalLowPower(struct BTC_COEXIST * pBtCoexist)
rtw_unregister_task_alive(padapter, BTCOEX_ALIVE);
}
-static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLowPwrDisable)
+static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST *pBtCoexist, u8 bLowPwrDisable)
{
pBtCoexist->btInfo.bBtDisableLowPwr = bLowPwrDisable;
if (bLowPwrDisable)
@@ -202,7 +202,7 @@ static void halbtcoutsrc_DisableLowPower(struct BTC_COEXIST * pBtCoexist, u8 bLo
halbtcoutsrc_NormalLowPower(pBtCoexist); /* original 32k low power behavior. */
}
-static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_AggregationCheck(struct BTC_COEXIST *pBtCoexist)
{
struct adapter *padapter;
bool bNeedToAct;
@@ -280,7 +280,7 @@ static u32 _halbtcoutsrc_GetWifiLinkStatus(struct adapter *padapter)
return portConnectedStatus;
}
-static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist)
+static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST *pBtCoexist)
{
/* */
/* return value: */
@@ -308,7 +308,7 @@ static u32 halbtcoutsrc_GetWifiLinkStatus(struct BTC_COEXIST * pBtCoexist)
return retVal;
}
-static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST * pBtCoexist)
+static u32 halbtcoutsrc_GetBtPatchVer(struct BTC_COEXIST *pBtCoexist)
{
return pBtCoexist->btInfo.btRealFwVer;
}
@@ -339,7 +339,7 @@ static u8 halbtcoutsrc_GetWifiScanAPNum(struct adapter *padapter)
static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
struct hal_com_data *pHalData;
struct mlme_ext_priv *mlmeext;
@@ -445,7 +445,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
case BTC_GET_U4_WIFI_TRAFFIC_DIRECTION:
{
- struct RT_LINK_DETECT_T * plinkinfo;
+ struct RT_LINK_DETECT_T *plinkinfo;
plinkinfo = &padapter->mlmepriv.LinkDetectInfo;
if (plinkinfo->NumTxOkInPeriod > plinkinfo->NumRxOkInPeriod)
@@ -507,7 +507,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
u8 *pu8;
u32 *pU4Tmp;
@@ -642,7 +642,7 @@ static u8 halbtcoutsrc_Set(void *pBtcContext, u8 setType, void *pInBuf)
return ret;
}
-static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist)
+static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST *pBtCoexist)
{
u8 *cliBuf = pBtCoexist->cliBuf;
@@ -658,7 +658,7 @@ static void halbtcoutsrc_DisplayFwPwrModeCmd(struct BTC_COEXIST * pBtCoexist)
/* */
static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -670,7 +670,7 @@ static u8 halbtcoutsrc_Read1Byte(void *pBtcContext, u32 RegAddr)
static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -682,7 +682,7 @@ static u16 halbtcoutsrc_Read2Byte(void *pBtcContext, u32 RegAddr)
static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -694,7 +694,7 @@ static u32 halbtcoutsrc_Read4Byte(void *pBtcContext, u32 RegAddr)
static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -706,7 +706,7 @@ static void halbtcoutsrc_Write1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
static void halbtcoutsrc_BitMaskWrite1Byte(void *pBtcContext, u32 regAddr, u8 bitMask, u8 data1b)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
u8 originalValue, bitShift;
u8 i;
@@ -746,7 +746,7 @@ static void halbtcoutsrc_Write2Byte(void *pBtcContext, u32 RegAddr, u16 Data)
static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -758,7 +758,7 @@ static void halbtcoutsrc_Write4Byte(void *pBtcContext, u32 RegAddr, u32 Data)
static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 Data)
{
- struct BTC_COEXIST * pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
+ struct BTC_COEXIST *pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
struct adapter *Adapter = pBtCoexist->Adapter;
if (BTC_INTF_SDIO == pBtCoexist->chipInterface)
@@ -769,7 +769,7 @@ static void halbtcoutsrc_WriteLocalReg1Byte(void *pBtcContext, u32 RegAddr, u8 D
static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u32 Data)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -782,7 +782,7 @@ static void halbtcoutsrc_SetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask, u
static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -794,7 +794,7 @@ static u32 halbtcoutsrc_GetBbReg(void *pBtcContext, u32 RegAddr, u32 BitMask)
static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -806,7 +806,7 @@ static void halbtcoutsrc_SetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u3
static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32 BitMask)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -818,7 +818,7 @@ static u32 halbtcoutsrc_GetRfReg(void *pBtcContext, u8 eRFPath, u32 RegAddr, u32
static void halbtcoutsrc_SetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr, u32 Data)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
u8 CmdBuffer1[4] = {0};
u8 CmdBuffer2[4] = {0};
@@ -854,7 +854,7 @@ static u32 halbtcoutsrc_GetBtReg(void *pBtcContext, u8 RegType, u32 RegAddr)
static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen, u8 *pCmdBuffer)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
struct adapter *padapter;
@@ -866,7 +866,7 @@ static void halbtcoutsrc_FillH2cCmd(void *pBtcContext, u8 elementId, u32 cmdLen,
static void halbtcoutsrc_DisplayDbgMsg(void *pBtcContext, u8 dispType)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
pBtCoexist = (struct BTC_COEXIST *)pBtcContext;
@@ -888,7 +888,7 @@ static void halbtcoutsrc_DisplayDbgMsg(void *pBtcContext, u8 dispType)
/* */
static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
{
- struct BTC_COEXIST * pBtCoexist = &GLBtCoexist;
+ struct BTC_COEXIST *pBtCoexist = &GLBtCoexist;
if (pBtCoexist->bBinded)
return false;
@@ -914,7 +914,7 @@ static u8 EXhalbtcoutsrc_BindBtCoexWithAdapter(void *padapter)
void hal_btcoex_Initialize(void *padapter)
{
- struct BTC_COEXIST * pBtCoexist;
+ struct BTC_COEXIST *pBtCoexist;
memset(&GLBtCoexist, 0, sizeof(GLBtCoexist));
@@ -960,7 +960,7 @@ void hal_btcoex_Initialize(void *padapter)
GLBtcWiFiInIQKState = false;
}
-void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST *pBtCoexist)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -972,7 +972,7 @@ void EXhalbtcoutsrc_PowerOnSetting(struct BTC_COEXIST * pBtCoexist)
EXhalbtc8723b1ant_PowerOnSetting(pBtCoexist);
}
-void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly)
+void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST *pBtCoexist, u8 bWifiOnly)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -985,7 +985,7 @@ void EXhalbtcoutsrc_InitHwConfig(struct BTC_COEXIST * pBtCoexist, u8 bWifiOnly)
EXhalbtc8723b1ant_InitHwConfig(pBtCoexist, bWifiOnly);
}
-void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST *pBtCoexist)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -1000,7 +1000,7 @@ void EXhalbtcoutsrc_InitCoexDm(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->bInitilized = true;
}
-void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
u8 ipsType;
@@ -1027,7 +1027,7 @@ void EXhalbtcoutsrc_IpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
u8 lpsType;
@@ -1050,7 +1050,7 @@ void EXhalbtcoutsrc_LpsNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
EXhalbtc8723b1ant_LpsNotify(pBtCoexist, lpsType);
}
-void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
+void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST *pBtCoexist, u8 type)
{
u8 scanType;
@@ -1079,7 +1079,7 @@ void EXhalbtcoutsrc_ScanNotify(struct BTC_COEXIST * pBtCoexist, u8 type)
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action)
+void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST *pBtCoexist, u8 action)
{
u8 assoType;
@@ -1105,7 +1105,8 @@ void EXhalbtcoutsrc_ConnectNotify(struct BTC_COEXIST * pBtCoexist, u8 action)
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_MEDIA_STATUS mediaStatus)
+void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST *pBtCoexist, enum
+ RT_MEDIA_STATUS mediaStatus)
{
u8 mStatus;
@@ -1132,7 +1133,7 @@ void EXhalbtcoutsrc_MediaStatusNotify(struct BTC_COEXIST * pBtCoexist, enum RT_M
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktType)
+void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST *pBtCoexist, u8 pktType)
{
u8 packetType;
@@ -1163,7 +1164,7 @@ void EXhalbtcoutsrc_SpecialPacketNotify(struct BTC_COEXIST * pBtCoexist, u8 pktT
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8 length)
+void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST *pBtCoexist, u8 *tmpBuf, u8 length)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -1181,7 +1182,7 @@ void EXhalbtcoutsrc_BtInfoNotify(struct BTC_COEXIST * pBtCoexist, u8 *tmpBuf, u8
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */
}
-void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST *pBtCoexist)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -1194,7 +1195,7 @@ void EXhalbtcoutsrc_HaltNotify(struct BTC_COEXIST * pBtCoexist)
pBtCoexist->bBinded = false;
}
-void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
+void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST *pBtCoexist, u8 pnpState)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -1210,7 +1211,7 @@ void EXhalbtcoutsrc_PnpNotify(struct BTC_COEXIST * pBtCoexist, u8 pnpState)
EXhalbtc8723b2ant_PnpNotify(pBtCoexist, pnpState);
}
-void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtcoutsrc_Periodical(struct BTC_COEXIST *pBtCoexist)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
@@ -1255,7 +1256,7 @@ void EXhalbtcoutsrc_SetSingleAntPath(u8 singleAntPath)
GLBtCoexist.boardInfo.singleAntPath = singleAntPath;
}
-void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST * pBtCoexist)
+void EXhalbtcoutsrc_DisplayBtCoexInfo(struct BTC_COEXIST *pBtCoexist)
{
if (!halbtcoutsrc_IsBtCoexistAvailable(pBtCoexist))
return;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 18/57] Staging: rtl8723bs: fix spaces in hal_com.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (16 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 17/57] Staging: rtl8723bs: fix spaces in hal_btcoex.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 19/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.c Marco Cesati
` (39 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_com.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
index 4a1ca57c2e15..29f5cf22f07e 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com.c
@@ -1289,7 +1289,7 @@ void SetHalODMVar(
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
- struct DM_ODM_T * podmpriv = &pHalData->odmpriv;
+ struct DM_ODM_T *podmpriv = &pHalData->odmpriv;
/* _irqL irqL; */
switch (eVariable) {
case HAL_ODM_STA_INFO:
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 19/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (17 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 18/57] Staging: rtl8723bs: fix spaces in hal_com.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 20/57] Staging: rtl8723bs: fix spaces in odm.c Marco Cesati
` (38 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#273: FILE: ./hal/hal_com_phycfg.c:273:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * 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:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index 2bf4689dc08e..7405f9229117 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -270,7 +270,7 @@ u8 PHY_GetRateSectionIndexOfTxPowerByRate(
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
u8 index = 0;
if (pDM_Odm->PhyRegPgVersion == 0) {
@@ -795,7 +795,7 @@ void PHY_StoreTxPowerByRate(
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
if (pDM_Odm->PhyRegPgVersion > 0)
PHY_StoreTxPowerByRateNew(padapter, Band, RfPath, TxNum, RegAddr, BitMask, Data);
@@ -1188,7 +1188,7 @@ u8 PHY_GetTxPowerIndexBase(
s8 PHY_GetTxPowerTrackingOffset(struct adapter *padapter, u8 RFPath, u8 Rate)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
s8 offset = 0;
if (pDM_Odm->RFCalibrateInfo.TxPowerTrackControl == false)
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 20/57] Staging: rtl8723bs: fix spaces in odm.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (18 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 19/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 21/57] Staging: rtl8723bs: fix spaces in odm.h Marco Cesati
` (37 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#285: FILE: ./hal/odm.c:285:
+void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#287: FILE: ./hal/odm.c:287:
+void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#289: FILE: ./hal/odm.c:289:
+void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#291: FILE: ./hal/odm.c:291:
+void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#305: FILE: ./hal/odm.c:305:
+void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#309: FILE: ./hal/odm.c:309:
+void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#311: FILE: ./hal/odm.c:311:
+void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#313: FILE: ./hal/odm.c:313:
+void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#315: FILE: ./hal/odm.c:315:
+void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#323: FILE: ./hal/odm.c:323:
+void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#325: FILE: ./hal/odm.c:325:
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#327: FILE: ./hal/odm.c:327:
+void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#330: FILE: ./hal/odm.c:330:
+void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#338: FILE: ./hal/odm.c:338:
+void odm_InitHybridAntDiv(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#341: FILE: ./hal/odm.c:341:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#349: FILE: ./hal/odm.c:349:
+void odm_SetRxIdleAnt(struct DM_ODM_T * pDM_Odm, u8 Ant, bool bDualPath);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#353: FILE: ./hal/odm.c:353:
+void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#363: FILE: ./hal/odm.c:363:
+void ODM_DMInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#393: FILE: ./hal/odm.c:393:
+void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#420: FILE: ./hal/odm.c:420:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#448: FILE: ./hal/odm.c:448:
+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"
#560: FILE: ./hal/odm.c:560:
+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"
#689: FILE: ./hal/odm.c:689:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#717: FILE: ./hal/odm.c:717:
+void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#831: FILE: ./hal/odm.c:831:
+void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#841: FILE: ./hal/odm.c:841:
+void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#867: FILE: ./hal/odm.c:867:
+void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#888: FILE: ./hal/odm.c:888:
+void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#935: FILE: ./hal/odm.c:935:
+void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#937: FILE: ./hal/odm.c:937:
+ struct ODM_RATE_ADAPTIVE * pOdmRA = &pDM_Odm->RateAdaptive;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#953: FILE: ./hal/odm.c:953:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1083: FILE: ./hal/odm.c:1083:
+void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1094: FILE: ./hal/odm.c:1094:
+void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1131: FILE: ./hal/odm.c:1131:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1137: FILE: ./hal/odm.c:1137:
+ struct ODM_RATE_ADAPTIVE * pRA = &pDM_Odm->RateAdaptive;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1196: FILE: ./hal/odm.c:1196:
+void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1198: FILE: ./hal/odm.c:1198:
+ struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1204: FILE: ./hal/odm.c:1204:
+void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1217: FILE: ./hal/odm.c:1217:
+ struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1234: FILE: ./hal/odm.c:1234:
+void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "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:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1330: FILE: ./hal/odm.c:1330:
+void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1374: FILE: ./hal/odm.c:1374:
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1398: FILE: ./hal/odm.c:1398:
+void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1400: FILE: ./hal/odm.c:1400:
+ struct SWAT_T * pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm.c | 92 ++++++++++++++---------------
1 file changed, 46 insertions(+), 46 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm.c b/drivers/staging/rtl8723bs/hal/odm.c
index 4337f3b614f9..c7607e7d26c5 100644
--- a/drivers/staging/rtl8723bs/hal/odm.c
+++ b/drivers/staging/rtl8723bs/hal/odm.c
@@ -282,13 +282,13 @@ u32 TxScalingTable_Jaguar[TXSCALE_TABLE_SIZE] = {
/* Local Function predefine. */
/* START------------COMMON INFO RELATED--------------- */
-void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm);
+void odm_CommonInfoSelfInit(struct DM_ODM_T *pDM_Odm);
-void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm);
+void odm_CommonInfoSelfUpdate(struct DM_ODM_T *pDM_Odm);
-void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm);
+void odm_CmnInfoInit_Debug(struct DM_ODM_T *pDM_Odm);
-void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm);
+void odm_BasicDbgMessage(struct DM_ODM_T *pDM_Odm);
/* END------------COMMON INFO RELATED--------------- */
@@ -302,17 +302,17 @@ void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm);
/* Remove BB power Saving by YuChen */
/* END---------BB POWER SAVE----------------------- */
-void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm);
+void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T *pDM_Odm);
/* Remove by YuChen */
-void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm);
+void odm_RSSIMonitorInit(struct DM_ODM_T *pDM_Odm);
-void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm);
+void odm_RSSIMonitorCheckCE(struct DM_ODM_T *pDM_Odm);
-void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm);
+void odm_RSSIMonitorCheck(struct DM_ODM_T *pDM_Odm);
-void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm);
+void odm_SwAntDetectInit(struct DM_ODM_T *pDM_Odm);
void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
@@ -320,14 +320,14 @@ void odm_SwAntDivChkAntSwitchCallback(void *FunctionContext);
void odm_GlobalAdapterCheck(void);
-void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm);
+void odm_RefreshRateAdaptiveMask(struct DM_ODM_T *pDM_Odm);
-void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm);
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm);
-void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm);
+void odm_RateAdaptiveMaskInit(struct DM_ODM_T *pDM_Odm);
-void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
+void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm);
/* Remove Edca by Yu Chen */
@@ -335,10 +335,10 @@ void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm);
#define RxDefaultAnt1 0x65a9
#define RxDefaultAnt2 0x569a
-void odm_InitHybridAntDiv(struct DM_ODM_T * pDM_Odm);
+void odm_InitHybridAntDiv(struct DM_ODM_T *pDM_Odm);
bool odm_StaDefAntSel(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u32 OFDM_Ant1_Cnt,
u32 OFDM_Ant2_Cnt,
u32 CCK_Ant1_Cnt,
@@ -346,11 +346,11 @@ bool odm_StaDefAntSel(
u8 *pDefAnt
);
-void odm_SetRxIdleAnt(struct DM_ODM_T * pDM_Odm, u8 Ant, bool bDualPath);
+void odm_SetRxIdleAnt(struct DM_ODM_T *pDM_Odm, u8 Ant, bool bDualPath);
-void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm);
+void odm_HwAntDiv(struct DM_ODM_T *pDM_Odm);
/* */
@@ -360,7 +360,7 @@ void odm_HwAntDiv(struct DM_ODM_T * pDM_Odm);
/* */
/* 2011/09/21 MH Add to describe different team necessary resource allocate?? */
/* */
-void ODM_DMInit(struct DM_ODM_T * pDM_Odm)
+void ODM_DMInit(struct DM_ODM_T *pDM_Odm)
{
odm_CommonInfoSelfInit(pDM_Odm);
@@ -390,7 +390,7 @@ void ODM_DMInit(struct DM_ODM_T * pDM_Odm)
/* You can not add any dummy function here, be care, you can only use DM structure */
/* to perform any new ODM_DM. */
/* */
-void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
+void ODM_DMWatchdog(struct DM_ODM_T *pDM_Odm)
{
odm_CommonInfoSelfUpdate(pDM_Odm);
odm_BasicDbgMessage(pDM_Odm);
@@ -417,7 +417,7 @@ void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
odm_DIG(pDM_Odm);
{
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
odm_Adaptivity(pDM_Odm, pDM_DigTable->CurIGValue);
}
@@ -445,7 +445,7 @@ void ODM_DMWatchdog(struct DM_ODM_T * pDM_Odm)
/* */
/* Init /.. Fixed HW value. Only init time. */
/* */
-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)
{
/* */
/* This section is used for init value */
@@ -557,7 +557,7 @@ void ODM_CmnInfoInit(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, u32
}
-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)
{
/* */
/* Hook call by reference pointer. */
@@ -686,7 +686,7 @@ void ODM_CmnInfoHook(struct DM_ODM_T * pDM_Odm, enum ODM_CMNINFO_E CmnInfo, void
void ODM_CmnInfoPtrArrayHook(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
enum ODM_CMNINFO_E CmnInfo,
u16 Index,
void *pValue
@@ -714,7 +714,7 @@ void ODM_CmnInfoPtrArrayHook(
/* */
/* Update Band/CHannel/.. The values are dynamic but non-per-packet. */
/* */
-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)
{
/* */
/* This init variable may be changed in run time. */
@@ -828,7 +828,7 @@ void ODM_CmnInfoUpdate(struct DM_ODM_T * pDM_Odm, u32 CmnInfo, u64 Value)
}
-void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm)
+void odm_CommonInfoSelfInit(struct DM_ODM_T *pDM_Odm)
{
pDM_Odm->bCckHighPower = (bool) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(CCK_RPT_FORMAT, pDM_Odm), ODM_BIT(CCK_RPT_FORMAT, pDM_Odm));
pDM_Odm->RFPathRxEnable = (u8) PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG(BB_RX_PATH, pDM_Odm), ODM_BIT(BB_RX_PATH, pDM_Odm));
@@ -838,7 +838,7 @@ void odm_CommonInfoSelfInit(struct DM_ODM_T * pDM_Odm)
pDM_Odm->TxRate = 0xFF;
}
-void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm)
+void odm_CommonInfoSelfUpdate(struct DM_ODM_T *pDM_Odm)
{
u8 EntryCnt = 0;
u8 i;
@@ -864,7 +864,7 @@ void odm_CommonInfoSelfUpdate(struct DM_ODM_T * pDM_Odm)
pDM_Odm->bOneEntryOnly = false;
}
-void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm)
+void odm_CmnInfoInit_Debug(struct DM_ODM_T *pDM_Odm)
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_CmnInfoInit_Debug ==>\n"));
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("SupportPlatform =%d\n", pDM_Odm->SupportPlatform));
@@ -885,7 +885,7 @@ void odm_CmnInfoInit_Debug(struct DM_ODM_T * pDM_Odm)
}
-void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm)
+void odm_BasicDbgMessage(struct DM_ODM_T *pDM_Odm)
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("odm_BasicDbgMsg ==>\n"));
ODM_RT_TRACE(pDM_Odm, ODM_COMP_COMMON, ODM_DBG_LOUD, ("bLinked = %d, RSSI_Min = %d,\n",
@@ -932,9 +932,9 @@ void odm_BasicDbgMessage(struct DM_ODM_T * pDM_Odm)
/* 3 Rate Adaptive */
/* 3 ============================================================ */
-void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm)
+void odm_RateAdaptiveMaskInit(struct DM_ODM_T *pDM_Odm)
{
- struct ODM_RATE_ADAPTIVE * pOdmRA = &pDM_Odm->RateAdaptive;
+ struct ODM_RATE_ADAPTIVE *pOdmRA = &pDM_Odm->RateAdaptive;
pOdmRA->Type = DM_Type_ByDriver;
if (pOdmRA->Type == DM_Type_ByDriver)
@@ -950,7 +950,7 @@ void odm_RateAdaptiveMaskInit(struct DM_ODM_T * pDM_Odm)
}
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
@@ -1080,7 +1080,7 @@ u32 ODM_Get_Rate_Bitmap(
*
* --------------------------------------------------------------------------
*/
-void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm)
+void odm_RefreshRateAdaptiveMask(struct DM_ODM_T *pDM_Odm)
{
ODM_RT_TRACE(pDM_Odm, ODM_COMP_RA_MASK, ODM_DBG_TRACE, ("odm_RefreshRateAdaptiveMask()---------->\n"));
@@ -1091,7 +1091,7 @@ void odm_RefreshRateAdaptiveMask(struct DM_ODM_T * pDM_Odm)
odm_RefreshRateAdaptiveMaskCE(pDM_Odm);
}
-void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm)
+void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T *pDM_Odm)
{
u8 i;
struct adapter *padapter = pDM_Odm->Adapter;
@@ -1128,13 +1128,13 @@ void odm_RefreshRateAdaptiveMaskCE(struct DM_ODM_T * pDM_Odm)
/* Return Value: bool */
/* - true: RATRState is changed. */
bool ODM_RAStateCheck(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
s32 RSSI,
bool bForceUpdate,
u8 *pRATRState
)
{
- struct ODM_RATE_ADAPTIVE * pRA = &pDM_Odm->RateAdaptive;
+ struct ODM_RATE_ADAPTIVE *pRA = &pDM_Odm->RateAdaptive;
const u8 GoUpGap = 5;
u8 HighRSSIThreshForRA = pRA->HighRSSIThresh;
u8 LowRSSIThreshForRA = pRA->LowRSSIThresh;
@@ -1193,15 +1193,15 @@ bool ODM_RAStateCheck(
/* 3 RSSI Monitor */
/* 3 ============================================================ */
-void odm_RSSIMonitorInit(struct DM_ODM_T * pDM_Odm)
+void odm_RSSIMonitorInit(struct DM_ODM_T *pDM_Odm)
{
- struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table;
+ struct RA_T *pRA_Table = &pDM_Odm->DM_RA_Table;
pRA_Table->firstconnect = false;
}
-void odm_RSSIMonitorCheck(struct DM_ODM_T * pDM_Odm)
+void odm_RSSIMonitorCheck(struct DM_ODM_T *pDM_Odm)
{
if (!(pDM_Odm->SupportAbility & ODM_BB_RSSI_MONITOR))
return;
@@ -1214,7 +1214,7 @@ static void FindMinimumRSSI(struct adapter *padapter)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
struct dm_priv *pdmpriv = &pHalData->dmpriv;
- struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
/* 1 1.Determine the minimum RSSI */
@@ -1231,7 +1231,7 @@ static void FindMinimumRSSI(struct adapter *padapter)
/* ODM_RT_TRACE(pDM_Odm, COMP_DIG, DBG_LOUD, ("MinUndecoratedPWDBForDM =%d\n", pHalData->MinUndecoratedPWDBForDM)); */
}
-void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
+void odm_RSSIMonitorCheckCE(struct DM_ODM_T *pDM_Odm)
{
struct adapter *Adapter = pDM_Odm->Adapter;
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
@@ -1240,7 +1240,7 @@ void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
int tmpEntryMaxPWDB = 0, tmpEntryMinPWDB = 0xff;
u8 sta_cnt = 0;
u32 PWDB_rssi[NUM_STA] = {0};/* 0~15]:MACID, [16~31]:PWDB_rssi */
- struct RA_T * pRA_Table = &pDM_Odm->DM_RA_Table;
+ struct RA_T *pRA_Table = &pDM_Odm->DM_RA_Table;
if (pDM_Odm->bLinked != true)
return;
@@ -1303,7 +1303,7 @@ void odm_RSSIMonitorCheckCE(struct DM_ODM_T * pDM_Odm)
/* 3 Tx Power Tracking */
/* 3 ============================================================ */
-static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm)
+static u8 getSwingIndex(struct DM_ODM_T *pDM_Odm)
{
struct adapter *Adapter = pDM_Odm->Adapter;
u8 i = 0;
@@ -1327,7 +1327,7 @@ static u8 getSwingIndex(struct DM_ODM_T * pDM_Odm)
return i;
}
-void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm)
+void odm_TXPowerTrackingInit(struct DM_ODM_T *pDM_Odm)
{
u8 defaultSwingIndex = getSwingIndex(pDM_Odm);
u8 p = 0;
@@ -1371,7 +1371,7 @@ void odm_TXPowerTrackingInit(struct DM_ODM_T * pDM_Odm)
}
-void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm)
+void ODM_TXPowerTrackingCheck(struct DM_ODM_T *pDM_Odm)
{
struct adapter *Adapter = pDM_Odm->Adapter;
@@ -1395,9 +1395,9 @@ void ODM_TXPowerTrackingCheck(struct DM_ODM_T * pDM_Odm)
/* 3 ============================================================ */
/* 3 SW Antenna Diversity */
/* 3 ============================================================ */
-void odm_SwAntDetectInit(struct DM_ODM_T * pDM_Odm)
+void odm_SwAntDetectInit(struct DM_ODM_T *pDM_Odm)
{
- struct SWAT_T * pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
+ struct SWAT_T *pDM_SWAT_Table = &pDM_Odm->DM_SWAT_Table;
pDM_SWAT_Table->SWAS_NoLink_BK_Reg92c = rtw_read32(pDM_Odm->Adapter, rDPDT_control);
pDM_SWAT_Table->PreAntenna = MAIN_ANT;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 21/57] Staging: rtl8723bs: fix spaces in odm.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (19 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 20/57] Staging: rtl8723bs: fix spaces in odm.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 22/57] Staging: rtl8723bs: fix spaces in odm_CfoTracking.c Marco Cesati
` (36 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm.h | 32 ++++++++++++++---------------
1 file 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
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 22/57] Staging: rtl8723bs: fix spaces in odm_CfoTracking.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (20 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 21/57] Staging: rtl8723bs: fix spaces in odm.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 23/57] Staging: rtl8723bs: fix spaces in odm_DIG.c Marco Cesati
` (35 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/odm_CfoTracking.c:12:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#13: FILE: ./hal/odm_CfoTracking.c:13:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#42: FILE: ./hal/odm_CfoTracking.c:42:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#52: FILE: ./hal/odm_CfoTracking.c:52:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#53: FILE: ./hal/odm_CfoTracking.c:53:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#70: FILE: ./hal/odm_CfoTracking.c:70:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#82: FILE: ./hal/odm_CfoTracking.c:82:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#83: FILE: ./hal/odm_CfoTracking.c:83:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#94: FILE: ./hal/odm_CfoTracking.c:94:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#95: FILE: ./hal/odm_CfoTracking.c:95:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#121: FILE: ./hal/odm_CfoTracking.c:121:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#122: FILE: ./hal/odm_CfoTracking.c:122:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
ERROR:POINTER_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:
+ struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/odm_CfoTracking.c | 28 +++++++++----------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c b/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c
index a70b673bb4be..fc059822edd9 100644
--- a/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c
+++ b/drivers/staging/rtl8723bs/hal/odm_CfoTracking.c
@@ -9,8 +9,8 @@
static void odm_SetCrystalCap(void *pDM_VOID, u8 CrystalCap)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
if (pCfoTrack->CrystalCap == CrystalCap)
return;
@@ -39,7 +39,7 @@ static void odm_SetCrystalCap(void *pDM_VOID, u8 CrystalCap)
static u8 odm_GetDefaultCrytaltalCap(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct adapter *Adapter = pDM_Odm->Adapter;
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
@@ -49,8 +49,8 @@ static u8 odm_GetDefaultCrytaltalCap(void *pDM_VOID)
static void odm_SetATCStatus(void *pDM_VOID, bool ATCStatus)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
if (pCfoTrack->bATCStatus == ATCStatus)
return;
@@ -67,7 +67,7 @@ static void odm_SetATCStatus(void *pDM_VOID, bool ATCStatus)
static bool odm_GetATCStatus(void *pDM_VOID)
{
bool ATCStatus;
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ATCStatus = (bool)PHY_QueryBBReg(
pDM_Odm->Adapter,
@@ -79,8 +79,8 @@ static bool odm_GetATCStatus(void *pDM_VOID)
void ODM_CfoTrackingReset(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
pCfoTrack->DefXCap = odm_GetDefaultCrytaltalCap(pDM_Odm);
pCfoTrack->bAdjust = true;
@@ -91,8 +91,8 @@ void ODM_CfoTrackingReset(void *pDM_VOID)
void ODM_CfoTrackingInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
pCfoTrack->DefXCap =
pCfoTrack->CrystalCap = odm_GetDefaultCrytaltalCap(pDM_Odm);
@@ -118,8 +118,8 @@ void ODM_CfoTrackingInit(void *pDM_VOID)
void ODM_CfoTracking(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
int CFO_kHz_A, CFO_kHz_B, CFO_ave = 0;
int CFO_ave_diff;
int CrystalCap = (int)pCfoTrack->CrystalCap;
@@ -297,9 +297,9 @@ void ODM_CfoTracking(void *pDM_VOID)
void ODM_ParsingCFO(void *pDM_VOID, void *pPktinfo_VOID, s8 *pcfotail)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct odm_packet_info *pPktinfo = pPktinfo_VOID;
- struct CFO_TRACKING * pCfoTrack = &pDM_Odm->DM_CfoTrack;
+ struct CFO_TRACKING *pCfoTrack = &pDM_Odm->DM_CfoTrack;
u8 i;
if (!(pDM_Odm->SupportAbility & ODM_BB_CFO_TRACKING))
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 23/57] Staging: rtl8723bs: fix spaces in odm_DIG.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (21 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 22/57] Staging: rtl8723bs: fix spaces in odm_CfoTracking.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 24/57] Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.c Marco Cesati
` (34 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#14: FILE: ./hal/odm_DIG.c:14:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#30: FILE: ./hal/odm_DIG.c:30:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#41: FILE: ./hal/odm_DIG.c:41:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#51: FILE: ./hal/odm_DIG.c:51:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#59: FILE: ./hal/odm_DIG.c:59:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#72: FILE: ./hal/odm_DIG.c:72:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#136: FILE: ./hal/odm_DIG.c:136:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#208: FILE: ./hal/odm_DIG.c:208:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#236: FILE: ./hal/odm_DIG.c:236:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#325: FILE: ./hal/odm_DIG.c:325:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#326: FILE: ./hal/odm_DIG.c:326:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#365: FILE: ./hal/odm_DIG.c:365:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#366: FILE: ./hal/odm_DIG.c:366:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#438: FILE: ./hal/odm_DIG.c:438:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#469: FILE: ./hal/odm_DIG.c:469:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#470: FILE: ./hal/odm_DIG.c:470:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#507: FILE: ./hal/odm_DIG.c:507:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#510: FILE: ./hal/odm_DIG.c:510:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#826: FILE: ./hal/odm_DIG.c:826:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#895: FILE: ./hal/odm_DIG.c:895:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#896: FILE: ./hal/odm_DIG.c:896:
+ struct false_ALARM_STATISTICS * FalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1065: FILE: ./hal/odm_DIG.c:1065:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1081: FILE: ./hal/odm_DIG.c:1081:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1082: FILE: ./hal/odm_DIG.c:1082:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1083: FILE: ./hal/odm_DIG.c:1083:
+ struct false_ALARM_STATISTICS * pFalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
ERROR:POINTER_LOCATION: "foo * bar" should be "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 * FalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1198: FILE: ./hal/odm_DIG.c:1198:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1199: FILE: ./hal/odm_DIG.c:1199:
+ struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_DIG.c | 60 ++++++++++++-------------
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_DIG.c b/drivers/staging/rtl8723bs/hal/odm_DIG.c
index 8179a963d2da..eca34f45aaa3 100644
--- a/drivers/staging/rtl8723bs/hal/odm_DIG.c
+++ b/drivers/staging/rtl8723bs/hal/odm_DIG.c
@@ -11,7 +11,7 @@
void odm_NHMCounterStatisticsInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
/* PHY parameters initialize for n series */
rtw_write16(pDM_Odm->Adapter, ODM_REG_NHM_TIMER_11N+2, 0x2710); /* 0x894[31:16]= 0x2710 Time duration for NHM unit: 4us, 0x2710 =40ms */
@@ -27,7 +27,7 @@ void odm_NHMCounterStatisticsInit(void *pDM_VOID)
void odm_NHMCounterStatistics(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
/* Get NHM report */
odm_GetNHMCounterStatistics(pDM_Odm);
@@ -38,7 +38,7 @@ void odm_NHMCounterStatistics(void *pDM_VOID)
void odm_GetNHMCounterStatistics(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
u32 value32 = 0;
value32 = PHY_QueryBBReg(pDM_Odm->Adapter, ODM_REG_NHM_CNT_11N, bMaskDWord);
@@ -48,7 +48,7 @@ void odm_GetNHMCounterStatistics(void *pDM_VOID)
void odm_NHMCounterStatisticsReset(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT1, 0);
PHY_SetBBReg(pDM_Odm->Adapter, ODM_REG_NHM_TH9_TH10_11N, BIT1, 1);
@@ -56,7 +56,7 @@ void odm_NHMCounterStatisticsReset(void *pDM_VOID)
void odm_NHMBBInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
pDM_Odm->adaptivity_flag = 0;
pDM_Odm->tolerance_cnt = 3;
@@ -69,9 +69,9 @@ void odm_NHMBBInit(void *pDM_VOID)
/* */
void odm_NHMBB(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
/* u8 test_status; */
- /* struct false_ALARM_STATISTICS *pFalseAlmCnt = &(pDM_Odm->FalseAlmCnt); */
+ /* struct false_ALARM_STATISTICS *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt; */
pDM_Odm->NHMCurTxOkcnt =
*(pDM_Odm->pNumTxBytesUnicast)-pDM_Odm->NHMLastTxOkcnt;
@@ -133,7 +133,7 @@ void odm_NHMBB(void *pDM_VOID)
void odm_SearchPwdBLowerBound(void *pDM_VOID, u8 IGI_target)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
u32 value32 = 0;
u8 cnt, IGI;
bool bAdjust = true;
@@ -205,7 +205,7 @@ void odm_SearchPwdBLowerBound(void *pDM_VOID, u8 IGI_target)
void odm_AdaptivityInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
if (pDM_Odm->Carrier_Sense_enable == false)
pDM_Odm->TH_L2H_ini = 0xf7; /* -7 */
@@ -233,7 +233,7 @@ void odm_AdaptivityInit(void *pDM_VOID)
void odm_Adaptivity(void *pDM_VOID, u8 IGI)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
s8 TH_L2H_dmc, TH_H2L_dmc;
s8 Diff, IGI_target;
bool EDCCA_State = false;
@@ -322,8 +322,8 @@ void odm_Adaptivity(void *pDM_VOID, u8 IGI)
void ODM_Write_DIG(void *pDM_VOID, u8 CurrentIGI)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
if (pDM_DigTable->bStopDIG) {
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("Stop Writing IGI\n"));
@@ -362,8 +362,8 @@ void odm_PauseDIG(
u8 IGIValue
)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
static bool bPaused;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_DIG, ODM_DBG_LOUD, ("odm_PauseDIG() =========>\n"));
@@ -435,7 +435,7 @@ void odm_PauseDIG(
bool odm_DigAbort(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
/* SupportAbility */
if (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT)) {
@@ -466,8 +466,8 @@ bool odm_DigAbort(void *pDM_VOID)
void odm_DIGInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
pDM_DigTable->bStopDIG = false;
pDM_DigTable->bPSDInProgress = false;
@@ -504,10 +504,10 @@ void odm_DIGInit(void *pDM_VOID)
void odm_DIG(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
/* Common parameters */
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
struct false_ALARM_STATISTICS *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt;
bool FirstConnect, FirstDisConnect;
u8 DIG_MaxOfMin, DIG_Dynamic_MIN;
@@ -823,7 +823,7 @@ void odm_DIG(void *pDM_VOID)
void odm_DIGbyRSSI_LPS(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct false_ALARM_STATISTICS *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt;
u8 RSSI_Lower = DM_DIG_MIN_NIC; /* 0x1E or 0x1C */
@@ -892,8 +892,8 @@ void odm_DIGbyRSSI_LPS(void *pDM_VOID)
void odm_FalseAlarmCounterStatistics(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct false_ALARM_STATISTICS * FalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct false_ALARM_STATISTICS *FalseAlmCnt = &pDM_Odm->FalseAlmCnt;
u32 ret_value;
if (!(pDM_Odm->SupportAbility & ODM_BB_FA_CNT))
@@ -1062,7 +1062,7 @@ void odm_FAThresholdCheck(
u32 *dm_FA_thres
)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
if (pDM_Odm->bLinked && (bPerformance || bDFSBand)) {
/* For NIC */
@@ -1078,9 +1078,9 @@ void odm_FAThresholdCheck(
u8 odm_ForbiddenIGICheck(void *pDM_VOID, u8 DIG_Dynamic_MIN, u8 CurrentIGI)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
- struct false_ALARM_STATISTICS * pFalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct false_ALARM_STATISTICS *pFalseAlmCnt = &pDM_Odm->FalseAlmCnt;
u8 rx_gain_range_min = pDM_DigTable->rx_gain_range_min;
if (pFalseAlmCnt->Cnt_all > 10000) {
@@ -1134,8 +1134,8 @@ u8 odm_ForbiddenIGICheck(void *pDM_VOID, u8 DIG_Dynamic_MIN, u8 CurrentIGI)
void odm_CCKPacketDetectionThresh(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct false_ALARM_STATISTICS * FalseAlmCnt = &(pDM_Odm->FalseAlmCnt);
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct false_ALARM_STATISTICS *FalseAlmCnt = &pDM_Odm->FalseAlmCnt;
u8 CurCCK_CCAThres;
@@ -1195,8 +1195,8 @@ void odm_CCKPacketDetectionThresh(void *pDM_VOID)
void ODM_Write_CCK_CCA_Thres(void *pDM_VOID, u8 CurCCK_CCAThres)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
/* modify by Guo.Mingzhi 2012-01-03 */
if (pDM_DigTable->CurCCK_CCAThres != CurCCK_CCAThres)
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 24/57] Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (22 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 23/57] Staging: rtl8723bs: fix spaces in odm_DIG.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 25/57] Staging: rtl8723bs: fix spaces in odm_DynamicTxPower.c Marco Cesati
` (33 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/odm_DynamicBBPowerSaving.c:12:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * 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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c b/drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c
index 2cc9518c4ae8..522f87fe69b2 100644
--- a/drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c
+++ b/drivers/staging/rtl8723bs/hal/odm_DynamicBBPowerSaving.c
@@ -9,7 +9,7 @@
void odm_DynamicBBPowerSavingInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
pDM_PSTable->PreCCAState = CCA_MAX;
@@ -22,7 +22,7 @@ void odm_DynamicBBPowerSavingInit(void *pDM_VOID)
void ODM_RF_Saving(void *pDM_VOID, u8 bForceInNormal)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct PS_T *pDM_PSTable = &pDM_Odm->DM_PSTable;
u8 Rssi_Up_bound = 30;
u8 Rssi_Low_bound = 25;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 25/57] Staging: rtl8723bs: fix spaces in odm_DynamicTxPower.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (23 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 24/57] Staging: rtl8723bs: fix in odm_DynamicBBPowerSaving.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 26/57] Staging: rtl8723bs: fix spaces in odm_EdcaTurboCheck.c Marco Cesati
` (32 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c b/drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c
index adb57e9af408..ca8246c1a2cd 100644
--- a/drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c
+++ b/drivers/staging/rtl8723bs/hal/odm_DynamicTxPower.c
@@ -9,7 +9,7 @@
void odm_DynamicTxPowerInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct adapter *Adapter = pDM_Odm->Adapter;
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 26/57] Staging: rtl8723bs: fix spaces in odm_EdcaTurboCheck.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (24 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 25/57] Staging: rtl8723bs: fix spaces in odm_DynamicTxPower.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 27/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.c Marco Cesati
` (31 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#34: FILE: ./hal/odm_EdcaTurboCheck.c:34:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#61: FILE: ./hal/odm_EdcaTurboCheck.c:61:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#76: FILE: ./hal/odm_EdcaTurboCheck.c:76:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
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/rtl8723bs/hal/odm_EdcaTurboCheck.c
index 61c447b00ff7..95fbb91aeb7d 100644
--- a/drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c
+++ b/drivers/staging/rtl8723bs/hal/odm_EdcaTurboCheck.c
@@ -31,7 +31,7 @@ static u32 edca_setting_DL[HT_IOT_PEER_MAX] = {
void ODM_EdcaTurboInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct adapter *Adapter = pDM_Odm->Adapter;
pDM_Odm->DM_EDCA_Table.bCurrentTurboEDCA = false;
@@ -58,7 +58,7 @@ void odm_EdcaTurboCheck(void *pDM_VOID)
* operate at the same time. In stage2/3, we need to prove universal
* interface and merge all HW dynamic mechanism.
*/
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ODM_RT_TRACE(pDM_Odm, ODM_COMP_EDCA_TURBO, ODM_DBG_LOUD,
("odm_EdcaTurboCheck ========================>\n"));
@@ -73,7 +73,7 @@ void odm_EdcaTurboCheck(void *pDM_VOID)
void odm_EdcaTurboCheckCE(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
struct adapter *Adapter = pDM_Odm->Adapter;
struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(Adapter);
struct recv_priv *precvpriv = &(Adapter->recvpriv);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 27/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (25 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 26/57] Staging: rtl8723bs: fix spaces in odm_EdcaTurboCheck.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 28/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.h Marco Cesati
` (30 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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"
#80: FILE: ./hal/odm_HWConfig.c:80:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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"
#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"
#404: FILE: ./hal/odm_HWConfig.c:404:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#418: FILE: ./hal/odm_HWConfig.c:418:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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"
#468: FILE: ./hal/odm_HWConfig.c:468:
+ struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
index de63e4a2932e..13f1d1cbd6b5 100644
--- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
+++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.c
@@ -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;
@@ -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
@@ -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;
@@ -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
)
{
@@ -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
@@ -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
@@ -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
)
@@ -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"));
@@ -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,
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 28/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (26 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 27/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 29/57] Staging: rtl8723bs: fix spaces in odm_NoiseMonitor.c Marco Cesati
` (29 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#125: FILE: ./hal/odm_HWConfig.h:125:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#131: FILE: ./hal/odm_HWConfig.h:131:
+enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T * pDM_Odm);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#134: FILE: ./hal/odm_HWConfig.h:134:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#140: FILE: ./hal/odm_HWConfig.h:140:
+ struct DM_ODM_T * pDM_Odm, enum ODM_BB_Config_Type ConfigType
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#144: FILE: ./hal/odm_HWConfig.h: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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_HWConfig.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
index d4d53839a3f9..deec2e71bd49 100644
--- a/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
+++ b/drivers/staging/rtl8723bs/hal/odm_HWConfig.h
@@ -122,31 +122,31 @@ struct PHY_STATUS_RPT_8812_T {
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
);
-enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T * pDM_Odm);
+enum HAL_STATUS ODM_ConfigRFWithTxPwrTrackHeaderFile(struct DM_ODM_T *pDM_Odm);
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
);
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
);
enum HAL_STATUS ODM_ConfigFWWithHeaderFile(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
enum ODM_FW_Config_Type ConfigType,
u8 *pFirmware,
u32 *pSize
);
-s32 odm_SignalScaleMapping(struct DM_ODM_T * pDM_Odm, s32 CurrSig);
+s32 odm_SignalScaleMapping(struct DM_ODM_T *pDM_Odm, s32 CurrSig);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 29/57] Staging: rtl8723bs: fix spaces in odm_NoiseMonitor.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (27 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 28/57] Staging: rtl8723bs: fix spaces in odm_HWConfig.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 30/57] Staging: rtl8723bs: fix spaces in odm_PathDiv.c Marco Cesati
` (28 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c b/drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c
index 7743540b7817..54b9a70a7060 100644
--- a/drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c
+++ b/drivers/staging/rtl8723bs/hal/odm_NoiseMonitor.c
@@ -19,7 +19,7 @@
#define ValidCnt 5
static s16 odm_InbandNoise_Monitor_NSeries(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 bPauseDIG,
u8 IGIValue,
u32 max_time
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 30/57] Staging: rtl8723bs: fix spaces in odm_PathDiv.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (28 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 29/57] Staging: rtl8723bs: fix spaces in odm_NoiseMonitor.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 31/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.c Marco Cesati
` (27 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#12: FILE: ./hal/odm_PathDiv.c:12:
+ struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
ERROR:POINTER_LOCATION: "foo * bar" should 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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_PathDiv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_PathDiv.c b/drivers/staging/rtl8723bs/hal/odm_PathDiv.c
index e04676533815..eeb8c87f2612 100644
--- a/drivers/staging/rtl8723bs/hal/odm_PathDiv.c
+++ b/drivers/staging/rtl8723bs/hal/odm_PathDiv.c
@@ -9,7 +9,7 @@
void odm_PathDiversityInit(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
if (!(pDM_Odm->SupportAbility & ODM_BB_PATH_DIV))
ODM_RT_TRACE(
@@ -22,7 +22,7 @@ void odm_PathDiversityInit(void *pDM_VOID)
void odm_PathDiversity(void *pDM_VOID)
{
- struct DM_ODM_T * pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
+ struct DM_ODM_T *pDM_Odm = (struct DM_ODM_T *)pDM_VOID;
if (!(pDM_Odm->SupportAbility & ODM_BB_PATH_DIV))
ODM_RT_TRACE(
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 31/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (29 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 30/57] Staging: rtl8723bs: fix spaces in odm_PathDiv.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 32/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.h Marco Cesati
` (26 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#11: FILE: ./hal/odm_RegConfig8723B.c:11:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#109: FILE: ./hal/odm_RegConfig8723B.c:109:
+void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#134: FILE: ./hal/odm_RegConfig8723B.c:134:
+void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#150: FILE: ./hal/odm_RegConfig8723B.c:150:
+ struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#173: 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" should be "foo *bar"
#229: FILE: ./hal/odm_RegConfig8723B.c:229:
+ struct DM_ODM_T * pDM_Odm,
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c b/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c
index 84b77a5c2a44..0fc5abe6ae23 100644
--- a/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c
+++ b/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.c
@@ -8,7 +8,7 @@
#include "odm_precomp.h"
void odm_ConfigRFReg_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Data,
enum ODM_RF_RADIO_PATH_E RF_PATH,
@@ -106,7 +106,7 @@ void odm_ConfigRFReg_8723B(
}
-void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)
+void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u32 Data)
{
u32 content = 0x1000; /* RF_Content: radioa_txt */
u32 maskforPhySet = (u32)(content&0xE000);
@@ -131,7 +131,7 @@ void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data)
);
}
-void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)
+void odm_ConfigMAC_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u8 Data)
{
rtw_write8(pDM_Odm->Adapter, Addr, Data);
ODM_RT_TRACE(
@@ -147,7 +147,7 @@ void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data)
}
void odm_ConfigBB_AGC_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Bitmask,
u32 Data
@@ -170,7 +170,7 @@ void odm_ConfigBB_AGC_8723B(
}
void odm_ConfigBB_PHY_REG_PG_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u32 Band,
u32 RfPath,
u32 TxNum,
@@ -198,7 +198,7 @@ void odm_ConfigBB_PHY_REG_PG_8723B(
}
void odm_ConfigBB_PHY_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Bitmask,
u32 Data
@@ -226,7 +226,7 @@ void odm_ConfigBB_PHY_8723B(
}
void odm_ConfigBB_TXPWR_LMT_8723B(
- struct DM_ODM_T * pDM_Odm,
+ struct DM_ODM_T *pDM_Odm,
u8 *Regulation,
u8 *Band,
u8 *Bandwidth,
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 32/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (30 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 31/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 33/57] Staging: rtl8723bs: fix spaces in odm_debug.c Marco Cesati
` (25 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#10: FILE: ./hal/odm_RegConfig8723B.h:10:
+void odm_ConfigRFReg_8723B(struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#17: FILE: ./hal/odm_RegConfig8723B.h:17:
+void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#19: FILE: ./hal/odm_RegConfig8723B.h:19:
+void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#21: FILE: ./hal/odm_RegConfig8723B.h:21:
+void odm_ConfigBB_AGC_8723B(struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#27: FILE: ./hal/odm_RegConfig8723B.h:27:
+void odm_ConfigBB_PHY_REG_PG_8723B(struct DM_ODM_T * pDM_Odm,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#36: FILE: ./hal/odm_RegConfig8723B.h:36:
+void odm_ConfigBB_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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h b/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h
index d7747100a917..e863f0c6d27a 100644
--- a/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h
+++ b/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h
@@ -7,24 +7,24 @@
#ifndef __INC_ODM_REGCONFIG_H_8723B
#define __INC_ODM_REGCONFIG_H_8723B
-void odm_ConfigRFReg_8723B(struct DM_ODM_T * pDM_Odm,
+void odm_ConfigRFReg_8723B(struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Data,
enum ODM_RF_RADIO_PATH_E RF_PATH,
u32 RegAddr
);
-void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u32 Data);
+void odm_ConfigRF_RadioA_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u32 Data);
-void odm_ConfigMAC_8723B(struct DM_ODM_T * pDM_Odm, u32 Addr, u8 Data);
+void odm_ConfigMAC_8723B(struct DM_ODM_T *pDM_Odm, u32 Addr, u8 Data);
-void odm_ConfigBB_AGC_8723B(struct DM_ODM_T * pDM_Odm,
+void odm_ConfigBB_AGC_8723B(struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Bitmask,
u32 Data
);
-void odm_ConfigBB_PHY_REG_PG_8723B(struct DM_ODM_T * pDM_Odm,
+void odm_ConfigBB_PHY_REG_PG_8723B(struct DM_ODM_T *pDM_Odm,
u32 Band,
u32 RfPath,
u32 TxNum,
@@ -33,13 +33,13 @@ void odm_ConfigBB_PHY_REG_PG_8723B(struct DM_ODM_T * pDM_Odm,
u32 Data
);
-void odm_ConfigBB_PHY_8723B(struct DM_ODM_T * pDM_Odm,
+void odm_ConfigBB_PHY_8723B(struct DM_ODM_T *pDM_Odm,
u32 Addr,
u32 Bitmask,
u32 Data
);
-void odm_ConfigBB_TXPWR_LMT_8723B(struct DM_ODM_T * pDM_Odm,
+void odm_ConfigBB_TXPWR_LMT_8723B(struct DM_ODM_T *pDM_Odm,
u8 *Regulation,
u8 *Band,
u8 *Bandwidth,
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 33/57] Staging: rtl8723bs: fix spaces in odm_debug.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (31 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 32/57] Staging: rtl8723bs: fix spaces in odm_RegConfig8723B.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 34/57] Staging: rtl8723bs: fix spaces in odm_debug.h Marco Cesati
` (24 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.c b/drivers/staging/rtl8723bs/hal/odm_debug.c
index 050aae37494e..8e0fb04bc3d6 100644
--- a/drivers/staging/rtl8723bs/hal/odm_debug.c
+++ b/drivers/staging/rtl8723bs/hal/odm_debug.c
@@ -7,7 +7,7 @@
#include "odm_precomp.h"
-void ODM_InitDebugSetting(struct DM_ODM_T * pDM_Odm)
+void ODM_InitDebugSetting(struct DM_ODM_T *pDM_Odm)
{
pDM_Odm->DebugLevel = ODM_DBG_LOUD;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 34/57] Staging: rtl8723bs: fix spaces in odm_debug.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (32 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 33/57] Staging: rtl8723bs: fix spaces in odm_debug.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 35/57] Staging: rtl8723bs: fix spaces in rtl8723b_dm.c Marco Cesati
` (23 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/odm_debug.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/hal/odm_debug.h b/drivers/staging/rtl8723bs/hal/odm_debug.h
index adb63ecc0b3e..22f0e37456e2 100644
--- a/drivers/staging/rtl8723bs/hal/odm_debug.h
+++ b/drivers/staging/rtl8723bs/hal/odm_debug.h
@@ -162,6 +162,6 @@
no_printk("%s %p", title_str, ptr)
#endif
-void ODM_InitDebugSetting(struct DM_ODM_T * pDM_Odm);
+void ODM_InitDebugSetting(struct DM_ODM_T *pDM_Odm);
#endif /* __ODM_DBG_H__ */
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 35/57] Staging: rtl8723bs: fix spaces in rtl8723b_dm.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (33 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 34/57] Staging: rtl8723bs: fix spaces in odm_debug.h Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 36/57] Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.c Marco Cesati
` (22 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#28: FILE: ./hal/rtl8723b_dm.c:28:
+ struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#77: FILE: ./hal/rtl8723b_dm.c:77:
+ struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#132: FILE: ./hal/rtl8723b_dm.c:132:
+ struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#206: FILE: ./hal/rtl8723b_dm.c:206:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#232: FILE: ./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-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/rtl8723b_dm.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
index dce70fff0fae..cf146f506155 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_dm.c
@@ -25,7 +25,7 @@ static void Init_ODM_ComInfo_8723b(struct adapter *Adapter)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
- struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
struct dm_priv *pdmpriv = &pHalData->dmpriv;
u8 cut_ver, fab_ver;
@@ -74,7 +74,7 @@ static void Update_ODM_ComInfo_8723b(struct adapter *Adapter)
struct dvobj_priv *dvobj = adapter_to_dvobj(Adapter);
struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter);
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
- struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
struct dm_priv *pdmpriv = &pHalData->dmpriv;
int i;
u8 zero = 0;
@@ -129,7 +129,7 @@ void rtl8723b_InitHalDm(struct adapter *Adapter)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
struct dm_priv *pdmpriv = &pHalData->dmpriv;
- struct DM_ODM_T * pDM_Odm = &(pHalData->odmpriv);
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
pdmpriv->DM_Type = DM_Type_ByDriver;
pdmpriv->DMFlag = DYNAMIC_FUNC_DISABLE;
@@ -203,7 +203,7 @@ void rtl8723b_hal_dm_in_lps(struct adapter *padapter)
u32 PWDB_rssi = 0;
struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
struct sta_priv *pstapriv = &padapter->stapriv;
struct sta_info *psta = NULL;
@@ -229,8 +229,8 @@ void rtl8723b_HalDmWatchDog_in_LPS(struct adapter *Adapter)
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
struct dm_priv *pdmpriv = &pHalData->dmpriv;
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
- struct DIG_T * pDM_DigTable = &pDM_Odm->DM_DigTable;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
+ struct DIG_T *pDM_DigTable = &pDM_Odm->DM_DigTable;
struct sta_priv *pstapriv = &Adapter->stapriv;
struct sta_info *psta = NULL;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 36/57] Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (34 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 35/57] Staging: rtl8723bs: fix spaces in rtl8723b_dm.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 37/57] Staging: rtl8723bs: fix spaces in rtl8723b_phycfg.c Marco Cesati
` (21 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#586: FILE: ./hal/rtl8723b_hal_init.c:586:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#867: FILE: ./hal/rtl8723b_hal_init.c:867:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1006: FILE: ./hal/rtl8723b_hal_init.c:1006:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1149: FILE: ./hal/rtl8723b_hal_init.c:1149:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1247: FILE: ./hal/rtl8723b_hal_init.c:1247:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1552: FILE: ./hal/rtl8723b_hal_init.c:1552:
+ struct PGPKT_STRUCT * pTargetPkt
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1566: FILE: ./hal/rtl8723b_hal_init.c:1566:
+ struct PGPKT_STRUCT * pTargetPkt,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1571: FILE: ./hal/rtl8723b_hal_init.c:1571:
+ struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1684: FILE: ./hal/rtl8723b_hal_init.c:1684:
+ struct PGPKT_STRUCT * pTargetPkt,
ERROR:POINTER_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:1788:
+ struct PGPKT_STRUCT * pTargetPkt,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1806: FILE: ./hal/rtl8723b_hal_init.c:1806:
+ struct PGPKT_STRUCT * pTargetPkt,
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index 0eac9cb11cef..189c4a796b33 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -583,7 +583,7 @@ static u8 hal_EfuseSwitchToBank(
u32 value32 = 0;
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
@@ -864,7 +864,7 @@ static void hal_ReadEFuse_WiFi(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u8 *efuseTbl = NULL;
u16 eFuse_Addr = 0;
@@ -1003,7 +1003,7 @@ static void hal_ReadEFuse_BT(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u8 *efuseTbl;
u8 bank;
@@ -1146,7 +1146,7 @@ static u16 hal_EfuseGetCurrentSize_WiFi(
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u16 efuse_addr = 0;
u16 start_addr = 0; /* for debug */
@@ -1244,7 +1244,7 @@ static u16 hal_EfuseGetCurrentSize_BT(struct adapter *padapter, u8 bPseudoTest)
{
#ifdef HAL_EFUSE_MEMORY
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
#endif
u16 btusedbytes;
u16 efuse_addr;
@@ -1549,7 +1549,7 @@ static void hal_EfuseConstructPGPkt(
u8 offset,
u8 word_en,
u8 *pData,
- struct PGPKT_STRUCT * pTargetPkt
+ struct PGPKT_STRUCT *pTargetPkt
)
{
memset(pTargetPkt->data, 0xFF, PGPKT_DATA_SIZE);
@@ -1563,12 +1563,12 @@ static u8 hal_EfusePartialWriteCheck(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
- struct PGPKT_STRUCT * pTargetPkt,
+ struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
struct hal_com_data *pHalData = GET_HAL_DATA(padapter);
- struct EFUSE_HAL * pEfuseHal = &pHalData->EfuseHal;
+ struct EFUSE_HAL *pEfuseHal = &pHalData->EfuseHal;
u8 bRet = false;
u16 startAddr = 0, efuse_max_available_len = 0, efuse_max = 0;
u8 efuse_data = 0;
@@ -1681,7 +1681,7 @@ static u8 hal_EfusePgPacketWrite1ByteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
- struct PGPKT_STRUCT * pTargetPkt,
+ struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
@@ -1718,7 +1718,7 @@ static u8 hal_EfusePgPacketWrite2ByteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
- struct PGPKT_STRUCT * pTargetPkt,
+ struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
@@ -1785,7 +1785,7 @@ static u8 hal_EfusePgPacketWriteHeader(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
- struct PGPKT_STRUCT * pTargetPkt,
+ struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
@@ -1803,7 +1803,7 @@ static u8 hal_EfusePgPacketWriteData(
struct adapter *padapter,
u8 efuseType,
u16 *pAddr,
- struct PGPKT_STRUCT * pTargetPkt,
+ struct PGPKT_STRUCT *pTargetPkt,
u8 bPseudoTest
)
{
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 37/57] Staging: rtl8723bs: fix spaces in rtl8723b_phycfg.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (35 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 36/57] Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:05 ` [PATCH 38/57] Staging: rtl8723bs: fix spaces in HalPwrSeqCmd.h Marco Cesati
` (20 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#597: FILE: ./hal/rtl8723b_phycfg.c:597:
+ struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
ERROR:POINTER_LOCATION: "foo * bar" 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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
index d67eb83e4011..9868d9f2b4df 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
@@ -594,8 +594,8 @@ u8 PHY_GetTxPowerIndex(
void PHY_SetTxPowerLevel8723B(struct adapter *Adapter, u8 Channel)
{
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
- struct DM_ODM_T * pDM_Odm = &pHalData->odmpriv;
- struct FAT_T * pDM_FatTable = &pDM_Odm->DM_FatTable;
+ struct DM_ODM_T *pDM_Odm = &pHalData->odmpriv;
+ struct FAT_T *pDM_FatTable = &pDM_Odm->DM_FatTable;
u8 RFPath = ODM_RF_PATH_A;
if (pHalData->AntDivCfg) {/* antenna diversity Enable */
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 38/57] Staging: rtl8723bs: fix spaces in HalPwrSeqCmd.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (36 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 37/57] Staging: rtl8723bs: fix spaces in rtl8723b_phycfg.c Marco Cesati
@ 2021-03-15 17:05 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 39/57] Staging: rtl8723bs: fix spaces in basic_types.h Marco Cesati
` (19 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:05 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h b/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
index 56c87ed17e48..7e8c2e511d0b 100644
--- a/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
+++ b/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
@@ -113,7 +113,7 @@ struct WLAN_PWR_CFG {
/* Prototype of protected function. */
/* */
u8 HalPwrSeqCmdParsing(
- struct adapter * padapter,
+ struct adapter *padapter,
u8 CutVersion,
u8 FabVersion,
u8 InterfaceType,
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 39/57] Staging: rtl8723bs: fix spaces in basic_types.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (37 preceding siblings ...)
2021-03-15 17:05 ` [PATCH 38/57] Staging: rtl8723bs: fix spaces in HalPwrSeqCmd.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 40/57] Staging: rtl8723bs: fix spaces in drv_types.h Marco Cesati
` (18 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/basic_types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/basic_types.h b/drivers/staging/rtl8723bs/include/basic_types.h
index d0b2ec25327a..76304086107a 100644
--- a/drivers/staging/rtl8723bs/include/basic_types.h
+++ b/drivers/staging/rtl8723bs/include/basic_types.h
@@ -13,7 +13,7 @@
#include <linux/types.h>
-#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s*)(0))->field)
+#define FIELD_OFFSET(s, field) ((__kernel_ssize_t)&((s *)(0))->field)
#define SIZE_PTR __kernel_size_t
#define SSIZE_PTR __kernel_ssize_t
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 40/57] Staging: rtl8723bs: fix spaces in drv_types.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (38 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 39/57] Staging: rtl8723bs: fix spaces in basic_types.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 41/57] Staging: rtl8723bs: fix spaces in hal_com.h Marco Cesati
` (17 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#210: FILE: ./include/drv_types.h:210:
+#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field)
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#404: FILE: ./include/drv_types.h:404:
+ void * HalData;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#432: FILE: ./include/drv_types.h:432:
+ void (*intf_start)(struct adapter * adapter);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#433: FILE: ./include/drv_types.h:433:
+ void (*intf_stop)(struct adapter * adapter);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#435: FILE: ./include/drv_types.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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/drv_types.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/drv_types.h b/drivers/staging/rtl8723bs/include/drv_types.h
index 97e8e462d718..649b2fd62abe 100644
--- a/drivers/staging/rtl8723bs/include/drv_types.h
+++ b/drivers/staging/rtl8723bs/include/drv_types.h
@@ -207,7 +207,7 @@ struct registry_priv {
/* For registry parameters */
#define RGTRY_OFT(field) ((u32)FIELD_OFFSET(struct registry_priv, field))
-#define RGTRY_SZ(field) sizeof(((struct registry_priv*) 0)->field)
+#define RGTRY_SZ(field) sizeof(((struct registry_priv *)0)->field)
#define BSSID_OFT(field) ((u32)FIELD_OFFSET(struct wlan_bssid_ex, field))
#define BSSID_SZ(field) sizeof(((struct wlan_bssid_ex *) 0)->field)
@@ -401,7 +401,7 @@ struct adapter {
u32 setband;
- void * HalData;
+ void *HalData;
u32 hal_data_sz;
struct hal_ops HalFunc;
@@ -429,15 +429,15 @@ struct adapter {
void (*intf_free_irq)(struct dvobj_priv *dvobj);
- void (*intf_start)(struct adapter * adapter);
- void (*intf_stop)(struct adapter * adapter);
+ void (*intf_start)(struct adapter *adapter);
+ void (*intf_stop)(struct adapter *adapter);
- struct net_device * pnetdev;
+ struct net_device *pnetdev;
char old_ifname[IFNAMSIZ];
/* used by rtw_rereg_nd_name related function */
struct rereg_nd_name_data {
- struct net_device * old_pnetdev;
+ struct net_device *old_pnetdev;
char old_ifname[IFNAMSIZ];
u8 old_ips_mode;
u8 old_bRegUseLed;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 41/57] Staging: rtl8723bs: fix spaces in hal_com.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (39 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 40/57] Staging: rtl8723bs: fix spaces in drv_types.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 42/57] Staging: rtl8723bs: fix spaces in hal_com_h2c.h Marco Cesati
` (16 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#218: FILE: ./include/hal_com.h:218:
+ struct adapter * Adapter,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#230: FILE: ./include/hal_com.h:230:
+void rtw_init_hal_com_default_value(struct adapter * Adapter);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#282: FILE: ./include/hal_com.h:282:
+ void * pValue1,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#283: FILE: ./include/hal_com.h:283:
+ void * pValue2);
ERROR:POINTER_LOCATION: "foo * bar" 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 * pValue1,
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/hal_com.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h
index c4b83eb16326..272d7ec4e15d 100644
--- a/drivers/staging/rtl8723bs/include/hal_com.h
+++ b/drivers/staging/rtl8723bs/include/hal_com.h
@@ -215,9 +215,9 @@ u8 MRateToHwRate(u8 rate);
u8 HwRateToMRate(u8 rate);
void HalSetBrateCfg(
- struct adapter * Adapter,
- u8 *mBratesOS,
- u16 *pBrateCfg);
+ struct adapter *Adapter,
+ u8 *mBratesOS,
+ u16 *pBrateCfg);
bool
Hal_MappingOutPipe(
@@ -227,7 +227,7 @@ u8 NumOutPipe
void hal_init_macaddr(struct adapter *adapter);
-void rtw_init_hal_com_default_value(struct adapter * Adapter);
+void rtw_init_hal_com_default_value(struct adapter *Adapter);
void c2h_evt_clear(struct adapter *adapter);
s32 c2h_evt_read_88xx(struct adapter *adapter, u8 *buf);
@@ -279,12 +279,12 @@ void rtw_bb_rf_gain_offset(struct adapter *padapter);
void GetHalODMVar(struct adapter *Adapter,
enum HAL_ODM_VARIABLE eVariable,
- void * pValue1,
- void * pValue2);
+ void *pValue1,
+ void *pValue2);
void SetHalODMVar(
- struct adapter * Adapter,
+ struct adapter *Adapter,
enum HAL_ODM_VARIABLE eVariable,
- void * pValue1,
+ void *pValue1,
bool bSet);
#ifdef CONFIG_BACKGROUND_NOISE_MONITOR
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 42/57] Staging: rtl8723bs: fix spaces in hal_com_h2c.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (40 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 41/57] Staging: rtl8723bs: fix spaces in hal_com.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 43/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.h Marco Cesati
` (15 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/hal_com_h2c.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/hal_com_h2c.h b/drivers/staging/rtl8723bs/include/hal_com_h2c.h
index 8970c59388bb..a6eab87f1745 100644
--- a/drivers/staging/rtl8723bs/include/hal_com_h2c.h
+++ b/drivers/staging/rtl8723bs/include/hal_com_h2c.h
@@ -280,6 +280,6 @@ struct RSVDPAGE_LOC {
#endif
#if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN)
void rtw_get_current_ip_address(struct adapter *padapter, u8 *pcurrentip);
-void rtw_get_sec_iv(struct adapter *padapter, u8*pcur_dot11txpn, u8 *StaAddr);
+void rtw_get_sec_iv(struct adapter *padapter, u8 *pcur_dot11txpn, u8 *StaAddr);
void rtw_set_sec_pn(struct adapter *padapter);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 43/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (41 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 42/57] Staging: rtl8723bs: fix spaces in hal_com_h2c.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 44/57] Staging: rtl8723bs: fix spaces in ieee80211.h Marco Cesati
` (14 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#75: FILE: ./include/hal_com_phycfg.h:75:
+struct adapter * Adapter,
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#95: FILE: ./include/hal_com_phycfg.h:95:
+ u8* RateIndex,
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#96: FILE: ./include/hal_com_phycfg.h:96:
+ s8* PwrByRateVal,
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#97: FILE: ./include/hal_com_phycfg.h:97:
+ u8* RateNum
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#107: FILE: ./include/hal_com_phycfg.h:107:
+struct adapter * padapter,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#141: FILE: ./include/hal_com_phycfg.h:141:
+struct adapter * padapter,
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#145: FILE: ./include/hal_com_phycfg.h:145:
+u8* Rates,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#167: FILE: ./include/hal_com_phycfg.h:167:
+ struct adapter * padapter
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#172: FILE: ./include/hal_com_phycfg.h:172:
+struct adapter * padapter,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#189: FILE: ./include/hal_com_phycfg.h:189:
+struct adapter * Adapter,
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#201: FILE: ./include/hal_com_phycfg.h:201:
+struct adapter * Adapter
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#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 <marcocesati@gmail.com>
---
.../rtl8723bs/include/hal_com_phycfg.h | 26 +++++++++----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h
index 9fff4aa36546..580b85324ae7 100644
--- a/drivers/staging/rtl8723bs/include/hal_com_phycfg.h
+++ b/drivers/staging/rtl8723bs/include/hal_com_phycfg.h
@@ -72,7 +72,7 @@ struct bb_register_def {
u8
PHY_GetTxPowerByRateBase(
-struct adapter * Adapter,
+struct adapter *Adapter,
u8 Band,
u8 RfPath,
u8 TxNum,
@@ -92,9 +92,9 @@ struct adapter *padapter,
u32 RegAddr,
u32 BitMask,
u32 Value,
- u8* RateIndex,
- s8* PwrByRateVal,
- u8* RateNum
+u8 *RateIndex,
+s8 *PwrByRateVal,
+u8 *RateNum
);
u8
@@ -104,7 +104,7 @@ u8 Rate
void
PHY_SetTxPowerIndexByRateSection(
-struct adapter * padapter,
+struct adapter *padapter,
u8 RFPath,
u8 Channel,
u8 RateSection
@@ -138,11 +138,11 @@ u8 path
void
PHY_SetTxPowerIndexByRateArray(
-struct adapter * padapter,
+struct adapter *padapter,
u8 RFPath,
enum CHANNEL_WIDTH BandWidth,
u8 Channel,
-u8* Rates,
+u8 *Rates,
u8 RateArraySize
);
@@ -164,12 +164,12 @@ u32 Data
void
PHY_TxPowerByRateConfiguration(
- struct adapter * padapter
+ struct adapter *padapter
);
u8
PHY_GetTxPowerIndexBase(
-struct adapter * padapter,
+struct adapter *padapter,
u8 RFPath,
u8 Rate,
enum CHANNEL_WIDTH BandWidth,
@@ -186,7 +186,7 @@ u8 Channel
void
PHY_SetTxPowerLimit(
-struct adapter * Adapter,
+struct adapter *Adapter,
u8 *Regulation,
u8 *Band,
u8 *Bandwidth,
@@ -198,12 +198,12 @@ u8 *PowerLimit
void
PHY_ConvertTxPowerLimitToPowerIndex(
-struct adapter * Adapter
+struct adapter *Adapter
);
void
PHY_InitTxPowerLimit(
-struct adapter * Adapter
+struct adapter *Adapter
);
s8
@@ -215,7 +215,7 @@ PHY_GetTxPowerTrackingOffset(
void
Hal_ChannelPlanToRegulation(
-struct adapter * Adapter,
+struct adapter *Adapter,
u16 ChannelPlan
);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 44/57] Staging: rtl8723bs: fix spaces in ieee80211.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (42 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 43/57] Staging: rtl8723bs: fix spaces in hal_com_phycfg.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 45/57] Staging: rtl8723bs: fix spaces in ioctl_cfg80211.h Marco Cesati
` (13 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo*bar" should be "foo *bar"
#1001: FILE: ./include/ieee80211.h:1001:
+u8 *rtw_get_ie(u8*pbuf, signed int index, signed int *len, signed int limit);
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#1029: FILE: ./include/ieee80211.h:1029:
+ for (ie = (void*)buf; (((u8 *)ie) - ((u8 *)buf) + 1) < buf_len; ie = (void*)(((u8 *)ie) + *(((u8 *)ie)+1) + 2))
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#1029: FILE: ./include/ieee80211.h:1029:
+ for (ie = (void*)buf; (((u8 *)ie) - ((u8 *)buf) + 1) < buf_len; ie = (void*)(((u8 *)ie) + *(((u8 *)ie)+1) + 2))
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1049: FILE: ./include/ieee80211.h:1049:
+u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI, unsigned char * MCS_rate);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
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/rtl8723bs/include/ieee80211.h
index bda5712aac62..1c671b778c57 100644
--- a/drivers/staging/rtl8723bs/include/ieee80211.h
+++ b/drivers/staging/rtl8723bs/include/ieee80211.h
@@ -998,7 +998,7 @@ enum secondary_ch_offset {
SCB = 3, /* secondary channel below */
};
-u8 *rtw_get_ie(u8*pbuf, signed int index, signed int *len, signed int limit);
+u8 *rtw_get_ie(u8 *pbuf, signed int index, signed int *len, signed int limit);
u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen);
int rtw_ies_remove_ie(u8 *ies, uint *ies_len, uint offset, u8 eid, u8 *oui, u8 oui_len);
@@ -1026,7 +1026,8 @@ u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8
* @buf_len:
*/
#define for_each_ie(ie, buf, buf_len) \
- for (ie = (void*)buf; (((u8 *)ie) - ((u8 *)buf) + 1) < buf_len; ie = (void*)(((u8 *)ie) + *(((u8 *)ie)+1) + 2))
+ for (ie = (void *)buf; (((u8 *)ie) - ((u8 *)buf) + 1) < buf_len; \
+ ie = (void *)(((u8 *)ie) + *(((u8 *)ie) + 1) + 2))
uint rtw_get_rateset_len(u8 *rateset);
@@ -1046,7 +1047,7 @@ void rtw_get_bcn_info(struct wlan_network *pnetwork);
void rtw_macaddr_cfg(struct device *dev, u8 *mac_addr);
-u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI, unsigned char * MCS_rate);
+u16 rtw_mcs_rate(u8 rf_type, u8 bw_40MHz, u8 short_GI, unsigned char *MCS_rate);
int rtw_action_frame_parse(const u8 *frame, u32 frame_len, u8 *category, u8 *action);
const char *action_public_str(u8 action);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 45/57] Staging: rtl8723bs: fix spaces in ioctl_cfg80211.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (43 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 44/57] Staging: rtl8723bs: fix spaces in ieee80211.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 46/57] Staging: rtl8723bs: fix spaces in osdep_intf.h Marco Cesati
` (12 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/ioctl_cfg80211.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
index 2907a6fce7a9..7c86d05084d8 100644
--- a/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
+++ b/drivers/staging/rtl8723bs/include/ioctl_cfg80211.h
@@ -106,7 +106,7 @@ void rtw_cfg80211_indicate_scan_done(struct adapter *adapter, bool aborted);
void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame, uint frame_len);
void rtw_cfg80211_indicate_sta_disassoc(struct adapter *padapter, unsigned char *da, unsigned short reason);
-void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char*msg);
+void rtw_cfg80211_rx_action(struct adapter *adapter, u8 *frame, uint frame_len, const char *msg);
bool rtw_cfg80211_pwr_mgmt(struct adapter *adapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 46/57] Staging: rtl8723bs: fix spaces in osdep_intf.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (44 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 45/57] Staging: rtl8723bs: fix spaces in ioctl_cfg80211.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 47/57] Staging: rtl8723bs: fix spaces in osdep_service.h Marco Cesati
` (11 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/osdep_intf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/osdep_intf.h b/drivers/staging/rtl8723bs/include/osdep_intf.h
index e9fee6bf8d43..aa4337686183 100644
--- a/drivers/staging/rtl8723bs/include/osdep_intf.h
+++ b/drivers/staging/rtl8723bs/include/osdep_intf.h
@@ -70,7 +70,7 @@ int rtw_ips_pwr_up(struct adapter *padapter);
void rtw_ips_pwr_down(struct adapter *padapter);
int rtw_drv_register_netdev(struct adapter *padapter);
-void rtw_ndev_destructor(struct net_device * ndev);
+void rtw_ndev_destructor(struct net_device *ndev);
int rtw_suspend_common(struct adapter *padapter);
int rtw_resume_common(struct adapter *padapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 47/57] Staging: rtl8723bs: fix spaces in osdep_service.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (45 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 46/57] Staging: rtl8723bs: fix spaces in osdep_intf.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 48/57] Staging: rtl8723bs: fix spaces in osdep_service_linux.h Marco Cesati
` (10 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#97: FILE: ./include/osdep_service.h:97:
+int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb);
ERROR:POINTER_LOCATION: "foo * 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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/osdep_service.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/osdep_service.h b/drivers/staging/rtl8723bs/include/osdep_service.h
index 63971fd691ed..07f846efa0d1 100644
--- a/drivers/staging/rtl8723bs/include/osdep_service.h
+++ b/drivers/staging/rtl8723bs/include/osdep_service.h
@@ -94,7 +94,7 @@ void _kfree(u8 *pbuf, u32 sz);
struct sk_buff *_rtw_skb_alloc(u32 sz);
struct sk_buff *_rtw_skb_copy(const struct sk_buff *skb);
-int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb);
+int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb);
#define rtw_malloc(sz) _rtw_malloc((sz))
#define rtw_zmalloc(sz) _rtw_zmalloc((sz))
@@ -142,7 +142,7 @@ extern void rtw_softap_lock_suspend(void);
extern void rtw_softap_unlock_suspend(void);
#endif
-extern void rtw_free_netdev(struct net_device * netdev);
+extern void rtw_free_netdev(struct net_device *netdev);
/* Macros for handling unaligned memory accesses */
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 48/57] Staging: rtl8723bs: fix spaces in osdep_service_linux.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (46 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 47/57] Staging: rtl8723bs: fix spaces in osdep_service.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 49/57] Staging: rtl8723bs: fix spaces in recv_osdep.h Marco Cesati
` (9 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/osdep_service_linux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/osdep_service_linux.h b/drivers/staging/rtl8723bs/include/osdep_service_linux.h
index 6454625d6bcf..3492ec1efd1e 100644
--- a/drivers/staging/rtl8723bs/include/osdep_service_linux.h
+++ b/drivers/staging/rtl8723bs/include/osdep_service_linux.h
@@ -120,6 +120,6 @@ static inline struct adapter *rtw_netdev_priv(struct net_device *netdev)
}
struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
-extern struct net_device * rtw_alloc_etherdev(int sizeof_priv);
+extern struct net_device *rtw_alloc_etherdev(int sizeof_priv);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 49/57] Staging: rtl8723bs: fix spaces in recv_osdep.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (47 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 48/57] Staging: rtl8723bs: fix spaces in osdep_service_linux.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 50/57] Staging: rtl8723bs: fix spaces in rtl8723b_xmit.h Marco Cesati
` (8 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/recv_osdep.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/include/recv_osdep.h b/drivers/staging/rtl8723bs/include/recv_osdep.h
index 82830ffc530a..83330ea98fbf 100644
--- a/drivers/staging/rtl8723bs/include/recv_osdep.h
+++ b/drivers/staging/rtl8723bs/include/recv_osdep.h
@@ -14,7 +14,7 @@ extern void _rtw_free_recv_priv(struct recv_priv *precvpriv);
extern s32 rtw_recv_entry(union recv_frame *precv_frame);
extern int rtw_recv_indicatepkt(struct adapter *adapter, union recv_frame *precv_frame);
-extern void rtw_recv_returnpacket(struct net_device * cnxt, struct sk_buff *preturnedpkt);
+extern void rtw_recv_returnpacket(struct net_device *cnxt, struct sk_buff *preturnedpkt);
extern void rtw_handle_tkip_mic_err(struct adapter *padapter, u8 bgroup);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 50/57] Staging: rtl8723bs: fix spaces in rtl8723b_xmit.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (48 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 49/57] Staging: rtl8723bs: fix spaces in recv_osdep.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 51/57] Staging: rtl8723bs: fix spaces in rtw_cmd.h Marco Cesati
` (7 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#446: FILE: ./include/rtl8723b_xmit.h:446:
+u8 BWMapping_8723B(struct adapter * Adapter, struct pkt_attrib *pattrib);
ERROR:POINTER_LOCATION: "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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/rtl8723b_xmit.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h b/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
index 45573336ead2..ccadc3d11644 100644
--- a/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
+++ b/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
@@ -443,7 +443,7 @@ s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter);
int rtl8723bs_xmit_thread(void *context);
#define hal_xmit_handler rtl8723bs_xmit_buf_handler
-u8 BWMapping_8723B(struct adapter * Adapter, struct pkt_attrib *pattrib);
-u8 SCMapping_8723B(struct adapter * Adapter, struct pkt_attrib *pattrib);
+u8 BWMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);
+u8 SCMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);
#endif
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 51/57] Staging: rtl8723bs: fix spaces in rtw_cmd.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (49 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 50/57] Staging: rtl8723bs: fix spaces in rtl8723b_xmit.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 52/57] Staging: rtl8723bs: fix spaces in rtw_ioctl_set.h Marco Cesati
` (6 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#789: FILE: ./include/rtw_cmd.h:789:
+ void (*func)(void*);
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#827: FILE: ./include/rtw_cmd.h:827:
+extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/rtw_cmd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_cmd.h b/drivers/staging/rtl8723bs/include/rtw_cmd.h
index 9e42731f8fa3..b15a5abca17c 100644
--- a/drivers/staging/rtl8723bs/include/rtw_cmd.h
+++ b/drivers/staging/rtl8723bs/include/rtw_cmd.h
@@ -786,7 +786,7 @@ struct TDLSoption_param {
/*H2C Handler index: 64 */
struct RunInThread_param {
- void (*func)(void*);
+ void (*func)(void *);
void *context;
};
@@ -824,7 +824,7 @@ struct sta_info;
extern u8 rtw_setstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 unicast_key, bool enqueue);
extern u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueue);
-extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network* pnetwork);
+extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork);
u8 rtw_disassoc_cmd(struct adapter *padapter, u32 deauth_timeout_ms, bool enqueue);
extern u8 rtw_setopmode_cmd(struct adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype, bool enqueue);
extern u8 rtw_setdatarate_cmd(struct adapter *padapter, u8 *rateset);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 52/57] Staging: rtl8723bs: fix spaces in rtw_ioctl_set.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (50 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 51/57] Staging: rtl8723bs: fix spaces in rtw_cmd.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 53/57] Staging: rtl8723bs: fix spaces in rtw_mlme_ext.h Marco Cesati
` (5 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#21: FILE: ./include/rtw_ioctl_set.h:21:
+u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep * wep);
ERROR:POINTER_LOCATION: "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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/rtw_ioctl_set.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_ioctl_set.h b/drivers/staging/rtl8723bs/include/rtw_ioctl_set.h
index b0cdee2df638..4db23b1c2d47 100644
--- a/drivers/staging/rtl8723bs/include/rtw_ioctl_set.h
+++ b/drivers/staging/rtl8723bs/include/rtw_ioctl_set.h
@@ -18,11 +18,11 @@ struct BSSIDInfo {
u8 rtw_set_802_11_authentication_mode(struct adapter *pdapter, enum NDIS_802_11_AUTHENTICATION_MODE authmode);
u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid);
-u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep * wep);
+u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep);
u8 rtw_set_802_11_disassociate(struct adapter *padapter);
u8 rtw_set_802_11_bssid_list_scan(struct adapter *padapter, struct ndis_802_11_ssid *pssid, int ssid_max_num);
u8 rtw_set_802_11_infrastructure_mode(struct adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE networktype);
-u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid * ssid);
+u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid);
u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid);
u8 rtw_validate_bssid(u8 *bssid);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 53/57] Staging: rtl8723bs: fix spaces in rtw_mlme_ext.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (51 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 52/57] Staging: rtl8723bs: fix spaces in rtw_ioctl_set.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 54/57] Staging: rtl8723bs: fix spaces in xmit_osdep.h Marco Cesati
` (4 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#307: FILE: ./include/rtw_mlme_ext.h:307:
+ char* str;
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#313: FILE: ./include/rtw_mlme_ext.h:313:
+ char* str;
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#592: FILE: ./include/rtw_mlme_ext.h:592:
+int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#595: FILE: ./include/rtw_mlme_ext.h:595:
+void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#596: FILE: ./include/rtw_mlme_ext.h:596:
+void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#599: FILE: ./include/rtw_mlme_ext.h:599:
+void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#606: FILE: ./include/rtw_mlme_ext.h:606:
+void update_capinfo(struct adapter * Adapter, u16 updateCap);
ERROR:POINTER_LOCATION: "foo* bar" should be "foo *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_event(struct adapter *padapter, unsigned char* MacAddr, int cam_idx);
Signed-off-by: Marco Cesati <marcocesati@gmail.com>
---
.../staging/rtl8723bs/include/rtw_mlme_ext.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
index b7bf92d1328f..e593293bb9c4 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme_ext.h
@@ -304,13 +304,13 @@ enum SCAN_STATE {
struct mlme_handler {
unsigned int num;
- char* str;
+ char *str;
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
};
struct action_handler {
unsigned int num;
- char* str;
+ char *str;
unsigned int (*func)(struct adapter *padapter, union recv_frame *precv_frame);
};
@@ -589,21 +589,21 @@ int is_IBSS_empty(struct adapter *padapter);
unsigned char check_assoc_AP(u8 *pframe, uint len);
-int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
+int WMM_param_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
void WMMOnAssocRsp(struct adapter *padapter);
-void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
-void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
+void HT_caps_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
+void HT_info_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
void HTOnAssocRsp(struct adapter *padapter);
-void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie * pIE);
+void ERP_IE_handler(struct adapter *padapter, struct ndis_80211_var_ie *pIE);
void VCS_update(struct adapter *padapter, struct sta_info *psta);
void update_ldpc_stbc_cap(struct sta_info *psta);
void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len);
void update_IOT_info(struct adapter *padapter);
-void update_capinfo(struct adapter * Adapter, u16 updateCap);
+void update_capinfo(struct adapter *Adapter, u16 updateCap);
void update_wireless_mode(struct adapter *padapter);
void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode);
int update_sta_support_rate(struct adapter *padapter, u8 *pvar_ie, uint var_ie_len, int cam_idx);
@@ -630,8 +630,8 @@ extern u8 rtw_search_max_mac_id(struct adapter *padapter);
void report_join_res(struct adapter *padapter, int res);
void report_survey_event(struct adapter *padapter, union recv_frame *precv_frame);
void report_surveydone_event(struct adapter *padapter);
-void report_del_sta_event(struct adapter *padapter, unsigned char* MacAddr, unsigned short reason);
-void report_add_sta_event(struct adapter *padapter, unsigned char* MacAddr, int cam_idx);
+void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsigned short reason);
+void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx);
void report_wmm_edca_update(struct adapter *padapter);
u8 chk_bmc_sleepq_cmd(struct adapter *padapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 54/57] Staging: rtl8723bs: fix spaces in xmit_osdep.h
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (52 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 53/57] Staging: rtl8723bs: fix spaces in rtw_mlme_ext.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 55/57] Staging: rtl8723bs: fix spaces in os_intfs.c Marco Cesati
` (3 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#28: FILE: ./include/xmit_osdep.h:28:
+extern int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev);
ERROR:POINTER_LOCATION: "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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/include/xmit_osdep.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/xmit_osdep.h b/drivers/staging/rtl8723bs/include/xmit_osdep.h
index 0e0d8d150f78..e781cd5dfd01 100644
--- a/drivers/staging/rtl8723bs/include/xmit_osdep.h
+++ b/drivers/staging/rtl8723bs/include/xmit_osdep.h
@@ -25,8 +25,8 @@ struct sta_xmit_priv;
struct xmit_frame;
struct xmit_buf;
-extern int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev);
-extern int rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev);
+extern int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev);
+extern int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev);
void rtw_os_xmit_schedule(struct adapter *padapter);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 55/57] Staging: rtl8723bs: fix spaces in os_intfs.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (53 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 54/57] Staging: rtl8723bs: fix spaces in xmit_osdep.h Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 56/57] Staging: rtl8723bs: fix spaces in osdep_service.c Marco Cesati
` (2 subsequent siblings)
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
index 4ece23737712..2ccade46efb8 100644
--- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c
+++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c
@@ -205,7 +205,7 @@ int _netdev_open(struct net_device *pnetdev);
int netdev_open(struct net_device *pnetdev);
static int netdev_close(struct net_device *pnetdev);
-static void loadparam(struct adapter *padapter, struct net_device * pnetdev)
+static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
{
struct registry_priv *registry_par = &padapter->registrypriv;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 56/57] Staging: rtl8723bs: fix spaces in osdep_service.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (54 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 55/57] Staging: rtl8723bs: fix spaces in os_intfs.c Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-15 17:06 ` [PATCH 57/57] Staging: rtl8723bs: fix spaces in xmit_linux.c Marco Cesati
2021-03-16 8:21 ` [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Dan Carpenter
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/os_dep/osdep_service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/osdep_service.c b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
index e2b8923df129..843003b91ea2 100644
--- a/drivers/staging/rtl8723bs/os_dep/osdep_service.c
+++ b/drivers/staging/rtl8723bs/os_dep/osdep_service.c
@@ -47,7 +47,7 @@ inline struct sk_buff *_rtw_skb_copy(const struct sk_buff *skb)
return skb_copy(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
}
-inline int _rtw_netif_rx(struct net_device * ndev, struct sk_buff *skb)
+inline int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb)
{
skb->dev = ndev;
return netif_rx(skb);
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* [PATCH 57/57] Staging: rtl8723bs: fix spaces in xmit_linux.c
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (55 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 56/57] Staging: rtl8723bs: fix spaces in osdep_service.c Marco Cesati
@ 2021-03-15 17:06 ` Marco Cesati
2021-03-16 8:21 ` [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Dan Carpenter
57 siblings, 0 replies; 59+ messages in thread
From: Marco Cesati @ 2021-03-15 17:06 UTC (permalink / raw)
To: Greg Kroah-Hartman, Hans de Goede, Larry Finger, devel
This commit fixes the following checkpatch.pl errors:
ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#192: FILE: ./os_dep/xmit_linux.c:192:
+int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev)
ERROR:POINTER_LOCATION: "foo * 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 <marcocesati@gmail.com>
---
drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
index 83d7cbbcdf93..a3b6584ca0d0 100644
--- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
@@ -189,7 +189,7 @@ static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb)
return true;
}
-int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev)
+int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
{
struct adapter *padapter = rtw_netdev_priv(pnetdev);
struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
@@ -244,7 +244,7 @@ int _rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev)
return 0;
}
-int rtw_xmit_entry(struct sk_buff *pkt, struct net_device * pnetdev)
+int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev)
{
int ret = 0;
--
2.30.2
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 59+ messages in thread
* Re: [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces
2021-03-15 17:05 [PATCH 00/57] Staging: rtl8723bs: fix POINTER_LOCATION whitespaces Marco Cesati
` (56 preceding siblings ...)
2021-03-15 17:06 ` [PATCH 57/57] Staging: rtl8723bs: fix spaces in xmit_linux.c Marco Cesati
@ 2021-03-16 8:21 ` Dan Carpenter
57 siblings, 0 replies; 59+ messages in thread
From: Dan Carpenter @ 2021-03-16 8:21 UTC (permalink / raw)
To: Marco Cesati; +Cc: devel, Greg Kroah-Hartman, Larry Finger, Hans de Goede
On Mon, Mar 15, 2021 at 06:05:21PM +0100, Marco Cesati wrote:
> 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 be affected.
Hopefully that part can be assumed. :P
>
> The checkpatch.pl script emits many errors and warnings for these
> patches, however all of them are caused by the original code. They shall
> be fixed in different patchsets.
Yep. You maybe went a tad too aggressive in fixing the checkpatch
warnings about parentheses... If you didn't introduce the warning, then
you can just leave it as-is.
Anyway, looks good.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
regards,
dan carpenter
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] 59+ messages in thread