public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: Fix inconsistent indenting warning in rtw_ap.c
@ 2026-02-03  1:43 Dharanitharan R
  2026-02-03  4:11 ` Ethan Tidmore
  0 siblings, 1 reply; 2+ messages in thread
From: Dharanitharan R @ 2026-02-03  1:43 UTC (permalink / raw)
  To: gregkh
  Cc: trohan2000, bqn9090, straube.linux, hansg, abrahamadekunle50,
	davidzalman.101, linux-staging, linux-kernel, Dharanitharan R

Fix smatch/checkpatch reported inconsistent indenting warning
in rtw_ap.c.
drivers/staging/rtl8723bs/core/rtw_ap.c: fix inconsistent
indentation.
No functional changes were introduced.

Signed-off-by: Dharanitharan R <dharanitharan725@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_ap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index 67197c7d4a4d..919bf8db6002 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -178,7 +178,6 @@ void expire_timeout_chk(struct adapter *padapter)
 	struct sta_priv *pstapriv = &padapter->stapriv;
 	u8 chk_alive_num = 0;
 	char chk_alive_list[NUM_STA];
-	int i;
 
 	spin_lock_bh(&pstapriv->auth_list_lock);
 
@@ -278,7 +277,7 @@ void expire_timeout_chk(struct adapter *padapter)
 		}
 
 		/* issue null data to check sta alive*/
-		for (i = 0; i < chk_alive_num; i++) {
+		for (int i = 0; i < chk_alive_num; i++) {
 			int ret = _FAIL;
 
 			psta = rtw_get_stainfo_by_offset(pstapriv, chk_alive_list[i]);
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: rtl8723bs: Fix inconsistent indenting warning in rtw_ap.c
  2026-02-03  1:43 [PATCH] staging: rtl8723bs: Fix inconsistent indenting warning in rtw_ap.c Dharanitharan R
@ 2026-02-03  4:11 ` Ethan Tidmore
  0 siblings, 0 replies; 2+ messages in thread
From: Ethan Tidmore @ 2026-02-03  4:11 UTC (permalink / raw)
  To: Dharanitharan R, gregkh
  Cc: trohan2000, bqn9090, straube.linux, hansg, abrahamadekunle50,
	davidzalman.101, linux-staging, linux-kernel

On Mon Feb 2, 2026 at 7:43 PM CST, Dharanitharan R wrote:
> Fix smatch/checkpatch reported inconsistent indenting warning
> in rtw_ap.c.
> drivers/staging/rtl8723bs/core/rtw_ap.c: fix inconsistent
> indentation.
> No functional changes were introduced.
>
> Signed-off-by: Dharanitharan R <dharanitharan725@gmail.com>
> ---

Your commit message says fix incosistnent identation, but the diff shows
changing a C89 for-loop into C99 style. This is not a whitespace fix.

ET

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-03  4:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03  1:43 [PATCH] staging: rtl8723bs: Fix inconsistent indenting warning in rtw_ap.c Dharanitharan R
2026-02-03  4:11 ` Ethan Tidmore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox