* [PATCH] staging: rtl8723bs: fix spacing around operators
@ 2026-02-08 5:13 Tabrez Ahmed
2026-02-08 21:28 ` Ethan Tidmore
0 siblings, 1 reply; 2+ messages in thread
From: Tabrez Ahmed @ 2026-02-08 5:13 UTC (permalink / raw)
To: gregkh
Cc: dan.carpenter, straube.linux, linux-staging, linux-kernel,
Tabrez Ahmed
Fix checkpatch check:
CHECK: spaces preferred around that '+' (ctx:VxV)
CHECK: spaces preferred around that '-' (ctx:VxV)
The kernel coding style prefers spaces around binary operators for
better readability.
Signed-off-by: Tabrez Ahmed <tabreztalks@gmail.com>
---
drivers/staging/rtl8723bs/core/rtw_security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index 2f941ffbd465..f379af98f9db 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -1362,7 +1362,7 @@ u32 rtw_BIP_verify(struct adapter *padapter, u8 *precvframe)
goto BIP_exit;
/* MIC field should be last 8 bytes of packet (packet without FCS) */
- if (!memcmp(mic, pframe+pattrib->pkt_len-8, 8)) {
+ if (!memcmp(mic, pframe + pattrib->pkt_len - 8, 8)) {
pmlmeext->mgnt_80211w_IPN_rx = temp_ipn;
res = _SUCCESS;
} else {
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-08 21:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-08 5:13 [PATCH] staging: rtl8723bs: fix spacing around operators Tabrez Ahmed
2026-02-08 21:28 ` Ethan Tidmore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox