From 84a44ac55059e1a87af95050a160686f9eb2817f Mon Sep 17 00:00:00 2001 From: Michael Straube Date: Sun, 17 Apr 2022 19:54:35 +0200 Subject: [PATCH] staging: r8188eu: convert u32 fields of rt_firmware_hdr to __le32 Convert the u32 fields of struct rt_firmware_hdr to __le32 for consistency. Acked-by: Larry Finger Signed-off-by: Michael Straube Link: https://lore.kernel.org/r/20220417175441.13830-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/r8188eu/core/rtw_fw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_fw.c b/drivers/staging/r8188eu/core/rtw_fw.c index eb4ab11..7cd0826 100644 --- a/drivers/staging/r8188eu/core/rtw_fw.c +++ b/drivers/staging/r8188eu/core/rtw_fw.c @@ -42,11 +42,11 @@ struct rt_firmware_hdr { /* LONG WORD 2 ---- */ __le32 SvnIdx; /* The SVN entry index */ - u32 Rsvd3; + __le32 Rsvd3; /* LONG WORD 3 ---- */ - u32 Rsvd4; - u32 Rsvd5; + __le32 Rsvd4; + __le32 Rsvd5; }; static void fw_download_enable(struct adapter *padapter, bool enable) -- 2.7.4