[PATCH 36/57] Staging: rtl8723bs: fix spaces in rtl8723b_hal_init.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 .../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@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux