[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250522211626.4931-1-donnyturizo13@gmail.com>
Date: Thu, 22 May 2025 21:16:26 +0000
From: Donny Turizo <donnyturizo13@...il.com>
To: gregkh@...uxfoundation.org
Cc: linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Donny Turizo <donnyturizo13@...il.com>
Subject: [PATCH v3] staging: rtl8723bs: Fix typo in variable name 'ips_deffer_ms'
Fixes a typo in the variable name 'ips_deffer_ms', which was
misspelled as 'deffer' instead of 'defer'. This patch renames
it to 'ips_defer_ms' to correct the spelling and improve code clarity.
Signed-off-by: Donny Turizo <donnyturizo13@...il.com>
---
Changes in v2:
Rebased on gregkh/staging-testing
Fixed build error reported by kernel test robot
Changes in v3:
The previous version of this patch incorrectly included changelog
notes (such as "Changes in v2") before the --- line in the commit
message. According to kernel patch submission rules, everything
after the --- line is ignored by git when applying the patch and
is meant only for reviewers (e.g., notes or changelogs). In this
updated version, the changelog has been properly placed below the
--- line to follow the correct kernel patch submission practices.
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
index 44f7c19308a5..27ba364ea33e 100644
--- a/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
+++ b/drivers/staging/rtl8723bs/core/rtw_pwrctrl.c
@@ -1006,18 +1006,18 @@ inline void rtw_set_ips_deny(struct adapter *padapter, u32 ms)
/*
* rtw_pwr_wakeup - Wake the NIC up from: 1)IPS. 2)USB autosuspend
* @adapter: pointer to struct adapter structure
-* @ips_deffer_ms: the ms will prevent from falling into IPS after wakeup
+* @ips_defer_ms: the ms will prevent from falling into IPS after wakeup
* Return _SUCCESS or _FAIL
*/
-int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_deffer_ms, const char *caller)
+int _rtw_pwr_wakeup(struct adapter *padapter, u32 ips_defer_ms, const char *caller)
{
struct dvobj_priv *dvobj = adapter_to_dvobj(padapter);
struct pwrctrl_priv *pwrpriv = dvobj_to_pwrctl(dvobj);
struct mlme_priv *pmlmepriv;
int ret = _SUCCESS;
unsigned long start = jiffies;
- unsigned long deny_time = jiffies + msecs_to_jiffies(ips_deffer_ms);
+ unsigned long deny_time = jiffies + msecs_to_jiffies(ips_defer_ms);
/* for LPS */
LeaveAllPowerSaveMode(padapter);
--
2.43.0
Powered by blists - more mailing lists