staging: rtl8723bs: hal: Add spaces around operator in HalBtc8723b1Ant.h
PATCH 1/1 staging: rtl8723bs: hal: Add spaces around operator in HalBtc8723b1Ant.h
Added spaces around operators in file HalBtc8723b1Ant.h. Issue detected by checkpatch.pl. Spaces are preferred to improve readibility.
--- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +1 -1
@@ -15,7 +15,7 @@#define BT_INFO_8723B_1ANT_B_CONNECTION BIT0#define BT_INFO_8723B_1ANT_A2DP_BASIC_RATE (_BT_INFO_EXT_) \ - (((_BT_INFO_EXT_&BIT0)) ? true : false) + (((_BT_INFO_EXT_ & BIT0)) ? true : false)#define BTC_RSSI_COEX_THRESH_TOL_8723B_1ANT 2
Signature · 1 line
2.30.2
Quoted 13 lines · Fabio M. De Francesco
Added spaces around operators in file
HalBtc8723b1Ant.h. Issue detected by checkpatch.pl. Spaces are preferred to improve readibility.Signed-off-by Fabio M. De Francesco <[email protected]>--- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +0
-0
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h line 18
Quoted 5 lines
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +1
-1@@ -15,7 +15,7 @@#define BT_INFO_8723B_1ANT_B_CONNECTION BIT0#define BT_INFO_8723B_1ANT_A2DP_BASIC_RATE (_BT_INFO_EXT_) \ - (((_BT_INFO_EXT_&BIT0)) ? true : false) + (((_BT_INFO_EXT_ & BIT0)) ? true : false)
There seem to be a lot of parentheses in this code (( )). Maybe you can make a series and fix that problem too.
julia
Quoted 11 lines
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +0
-1#define BTC_RSSI_COEX_THRESH_TOL_8723B_1ANT 2 --2.30.2
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20210406164001.13646-1-fmdefrancesco%40gmail.com.
Quoted 18 lines · CEST Julia Lawall
Quoted 15 lines · Fabio M. De Francesco
Added spaces around operators in file
HalBtc8723b1Ant.h. Issue detected by checkpatch.pl. Spaces are preferred to improve readibility.Signed-off-by Fabio M. De Francesco <[email protected]>--- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +0
-0@@ -15,7 +15,7 @@#define BT_INFO_8723B_1ANT_B_CONNECTION BIT0
Quoted 8 lines
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h line 18
Quoted 3 lines
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +1
-1#define BT_INFO_8723B_1ANT_A2DP_BASIC_RATE (_BT_INFO_EXT_) \ - (((_BT_INFO_EXT_&BIT0)) ? true : false) + (((_BT_INFO_EXT_ & BIT0)) ? true : false)There seem to be a lot of parentheses in this code (( )). Maybe you can make a series and fix that problem too.
julia
OK, good idea. Tomorrow I will also work on this problem.
Fabio
Quoted 13 lines
Quoted 12 lines
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.h +0
-1#define BTC_RSSI_COEX_THRESH_TOL_8723B_1ANT 2 --2.30.2
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20210406164001.13646-1-fmdefrancesco%40gmail.com.