summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Dupart <jonathan+kernel@dupart.org>2025-07-14 15:23:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-15 10:11:05 +0200
commit4bf0d122e646db2b9b855a6d93f372f95df05f6a (patch)
tree7ff7947b2a43027a0c2213c2d961d1abd58247bf
parentb56d3239e34171020de6e105ea1c2e7c44ae4a0b (diff)
staging: rtl8723bs: hal: add spaces around ternary operator
Adhere to Linux kernel coding style according to checkpatch : CHECK: spaces required around that ':' (ctx:VxV) Signed-off-by: Jonathan Dupart <jonathan+kernel@dupart.org> Link: https://lore.kernel.org/r/20250714132343.1613229-1-jonathan+kernel@dupart.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index 3541aac605f6..b74d916ebbe1 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -3117,7 +3117,7 @@ void GetHwReg8723B(struct adapter *padapter, u8 variable, u8 *val)
break;
case HW_VAR_CHK_HI_QUEUE_EMPTY:
val16 = rtw_read16(padapter, REG_TXPKT_EMPTY);
- *val = (val16 & BIT(10)) ? true:false;
+ *val = (val16 & BIT(10)) ? true : false;
break;
default:
GetHwReg(padapter, variable, val);