Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set()
@ 2026-02-09 18:03 Azamat Rakhim
  2026-02-23 14:22 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Azamat Rakhim @ 2026-02-09 18:03 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Azamat Rakhim

Replace "unsigned char" with "u8" to address the driver's TODO.

Signed-off-by: Azamat Rakhim <azamatrakhim8@gmail.com>
---
 drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
index 5ffefa50699e..3ad1c10e5073 100644
--- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
+++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c
@@ -159,9 +159,9 @@ unsigned int ratetbl2rateset(struct adapter *padapter, unsigned char *rateset)
 	return len;
 }
 
-void get_rate_set(struct adapter *padapter, unsigned char *pbssrate, int *bssrate_len)
+void get_rate_set(struct adapter *padapter, u8 *pbssrate, int *bssrate_len)
 {
-	unsigned char supportedrates[NumRates];
+	u8 supportedrates[NumRates];
 
 	memset(supportedrates, 0, NumRates);
 	*bssrate_len = ratetbl2rateset(padapter, supportedrates);
-- 
2.43.0


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

* Re: [PATCH] staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set()
  2026-02-09 18:03 [PATCH] staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set() Azamat Rakhim
@ 2026-02-23 14:22 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2026-02-23 14:22 UTC (permalink / raw)
  To: Azamat Rakhim; +Cc: linux-staging, linux-kernel

On Mon, Feb 09, 2026 at 11:03:03PM +0500, Azamat Rakhim wrote:
> Replace "unsigned char" with "u8" to address the driver's TODO.

What exact TODO line is that?  Why is it necessary to change these
variables here, you do not explain that.

thanks,

greg k-h

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

end of thread, other threads:[~2026-02-23 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 18:03 [PATCH] staging: rtl8723bs: use u8 instead of unsigned char in get_rate_set() Azamat Rakhim
2026-02-23 14:22 ` Greg KH

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