]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: fix spacing around operators
authorTabrez Ahmed <tabreztalks@gmail.com>
Sun, 8 Feb 2026 05:13:41 +0000 (10:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Feb 2026 14:38:41 +0000 (15:38 +0100)
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>
Reviewed-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260208051341.38631-1-tabreztalks@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_security.c

index b489babe743248f6c7ab0a0217b3290bedda89bc..1a6dd4f4bddad0a3976eacd1d8cca49b8bef569a 100644 (file)
@@ -1339,7 +1339,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 {