The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: fliegbert2@gmail.com
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
	Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
Subject: [PATCH v3 5/5] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum
Date: Fri, 10 Jul 2026 10:45:29 +0000	[thread overview]
Message-ID: <20260710104529.5366-6-fliegbert2@gmail.com> (raw)
In-Reply-To: <20260710104529.5366-1-fliegbert2@gmail.com>

From: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>

Rename enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum
to fix checkpatch.pl CamelCase finding.

Signed-off-by: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
---
 drivers/staging/rtl8723bs/include/rtw_mlme.h     | 4 ++--
 drivers/staging/rtl8723bs/include/rtw_security.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8723bs/include/rtw_mlme.h b/drivers/staging/rtl8723bs/include/rtw_mlme.h
index 2ebfd7a0bb69..6faa13535b62 100644
--- a/drivers/staging/rtl8723bs/include/rtw_mlme.h
+++ b/drivers/staging/rtl8723bs/include/rtw_mlme.h
@@ -48,8 +48,8 @@ enum {
 	dot11_auth_algrthm_shared,
 	dot11_auth_algrthm_8021x,
 	dot11_auth_algrthm_auto,
-	dot11AuthAlgrthm_WAPI,
-	dot11AuthAlgrthm_MaxNum
+	dot11_auth_algrthm_wapi,
+	dot11_auth_algrthm_maxnum
 };
 
 /* Scan type including active and passive scan. */
diff --git a/drivers/staging/rtl8723bs/include/rtw_security.h b/drivers/staging/rtl8723bs/include/rtw_security.h
index ae4149b6bbb3..e9fd97d68394 100644
--- a/drivers/staging/rtl8723bs/include/rtw_security.h
+++ b/drivers/staging/rtl8723bs/include/rtw_security.h
@@ -182,7 +182,7 @@ do {\
 		else\
 			encry_algo = (u8)psta->dot118021XPrivacy;\
 		break;\
-	case dot11AuthAlgrthm_WAPI:\
+	case dot11_auth_algrthm_wapi:\
 		encry_algo = (u8)psecuritypriv->dot11PrivacyAlgrthm;\
 		break;\
 	} \
-- 
2.54.0


  parent reply	other threads:[~2026-07-10 10:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-01 20:39 [PATCH 0/6] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-06-01 20:39 ` [PATCH 1/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_8021X fliegbert2
2026-07-07 11:02   ` Greg KH
2026-06-01 20:39 ` [PATCH 2/6] staging: rtl8723bs: Replace spaces for tab fliegbert2
2026-06-01 20:39 ` [PATCH 3/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Open fliegbert2
2026-06-01 20:39 ` [PATCH 4/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Auto fliegbert2
2026-06-01 20:39 ` [PATCH 5/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_Shared fliegbert2
2026-07-07 11:02   ` Greg KH
2026-06-01 20:39 ` [PATCH 6/6] staging: rtl8723bs: Rename camelcase variable dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
2026-07-08 12:15 ` [PATCH v2 0/6] Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-07-08 12:15   ` [PATCH v2 1/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-08 12:15   ` [PATCH v2 2/6] staging: rtl8723bs: Replace spaces for tab fliegbert2
2026-07-10  7:52     ` Greg KH
2026-07-08 12:16   ` [PATCH v2 3/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open fliegbert2
2026-07-08 12:16   ` [PATCH v2 4/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-08 12:16   ` [PATCH v2 5/6] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-08 12:16   ` [PATCH v2 6/6] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2
2026-07-10 10:45 ` [PATCH v3 0/5] Rename camelcase enum values dot11AuthAlgrthm_ fliegbert2
2026-07-10 10:45   ` [PATCH v3 1/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-10 10:45   ` [PATCH v3 2/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open fliegbert2
2026-07-10 10:45   ` [PATCH v3 3/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-10 10:45   ` [PATCH v3 4/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-10 10:45   ` fliegbert2 [this message]
2026-07-10 14:52   ` [PATCH v3 0/5] Rename camelcase enum values dot11AuthAlgrthm_ Greg KH
2026-07-10 16:20 ` [PATCH v4 0/5] staging: rtl8723bs: " fliegbert2
2026-07-10 16:20   ` [PATCH v4 1/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_8021X fliegbert2
2026-07-10 16:20   ` [PATCH v4 2/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Open fliegbert2
2026-07-10 16:20   ` [PATCH v4 3/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Auto fliegbert2
2026-07-10 16:20   ` [PATCH v4 4/5] staging: rtl8723bs: Rename camelcase enum value dot11AuthAlgrthm_Shared fliegbert2
2026-07-10 16:20   ` [PATCH v4 5/5] staging: rtl8723bs: Rename camelcase enum values dot11AuthAlgrthm_WAPI and dot11AuthAlgrthm_MaxNum fliegbert2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260710104529.5366-6-fliegbert2@gmail.com \
    --to=fliegbert2@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox