[PATCH v3 5/6] staging: rtl8723bs: use u32 for payload_length in rtw_security.c
From: Pranav Desai
Date: Wed Oct 07 2026 - 08:41:59 EST
Replace 'uint' with 'u32' for the 'payload_length' parameter in the
construct_mic_iv() helper function.
This parameter is passed directly from the 'plen' variable in the caller
functions, which has been explicitly typed as u32.
Signed-off-by: Pranav Desai <contact.pranavdesai@xxxxxxxxx>
---
drivers/staging/rtl8723bs/core/rtw_security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.c
index ff8af1a29b22..8b67985f6e06 100644
--- a/drivers/staging/rtl8723bs/core/rtw_security.c
+++ b/drivers/staging/rtl8723bs/core/rtw_security.c
@@ -631,7 +631,7 @@ static void construct_mic_iv(u8 *mic_iv,
bool qc_exists,
bool a4_exists,
u8 *mpdu,
- uint payload_length,
+ u32 payload_length,
u8 *pn_vector,
u8 frtype)
{
--
2.55.0