]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
staging: rtl8723bs: include: Fix open brace position in rtw_security.h
authorSayyad Abid <sayyad.abid16@gmail.com>
Thu, 12 Sep 2024 04:04:02 +0000 (09:34 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2024 05:31:21 +0000 (07:31 +0200)
This change improves code readability and consistency with the rest of
the kernel codebase.

Reported by `checkpatch.pl`:
WARNING: open brace '{' following function definitions or control
statements should be on the next line.

Signed-off-by: Sayyad Abid <sayyad.abid16@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240912040409.3315067-2-sayyad.abid16@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_security.h

index c3e47d52687f51867fc2edfeeb25847d59875814..953076667b4d1ebfb047e825cf666a0977f25561 100644 (file)
@@ -190,8 +190,7 @@ do {\
 
 #define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\
 do {\
-       switch (encrypt)\
-       {\
+       switch (encrypt) {\
                case _WEP40_:\
                case _WEP104_:\
                        iv_len = 4;\