From: Sayyad Abid Date: Thu, 12 Sep 2024 04:04:02 +0000 (+0530) Subject: staging: rtl8723bs: include: Fix open brace position in rtw_security.h X-Git-Tag: v6.12-rc1~40^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd64620992a9b938a6a4aac335d224ce07643c15;p=thirdparty%2Flinux.git staging: rtl8723bs: include: Fix open brace position in rtw_security.h 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 Tested-by: Philipp Hortmann Link: https://lore.kernel.org/r/20240912040409.3315067-2-sayyad.abid16@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h index c3e47d52687f5..953076667b4d1 100644 --- a/drivers/staging/rtl8723bs/include/rtw_security.h +++ b/drivers/staging/rtl8723bs/include/rtw_security.h @@ -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;\