]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: rtl8723bs: place opening brace on previous line
authorGuilherme Puida Moreira <guilherme@puida.xyz>
Tue, 30 Jul 2024 06:48:12 +0000 (06:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Jul 2024 07:22:02 +0000 (09:22 +0200)
Fix checkpatch diagnostic "ERROR: that open brace { should be on the
previous line" in rtw_security.h:173

Signed-off-by: Guilherme Puida Moreira <guilherme@puida.xyz>
Link: https://lore.kernel.org/r/20240730064812.1979-1-guilherme@puida.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_security.h

index 98afbd3054a4b69bb1301c22aeffc924dfece77f..c3e47d52687f51867fc2edfeeb25847d59875814 100644 (file)
@@ -170,8 +170,7 @@ struct security_priv {
 
 #define GET_ENCRY_ALGO(psecuritypriv, psta, encry_algo, bmcst)\
 do {\
-       switch (psecuritypriv->dot11AuthAlgrthm)\
-       {\
+       switch (psecuritypriv->dot11AuthAlgrthm) {\
                case dot11AuthAlgrthm_Open:\
                case dot11AuthAlgrthm_Shared:\
                case dot11AuthAlgrthm_Auto:\