staging: r8188eu: convert u32 fields of rt_firmware_hdr to __le32
authorMichael Straube <straube.linux@gmail.com>
Sun, 17 Apr 2022 17:54:35 +0000 (19:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 16:31:18 +0000 (18:31 +0200)
Convert the u32 fields of struct rt_firmware_hdr to __le32 for
consistency.

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220417175441.13830-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_fw.c

index eb4ab11f6b281855c14602547fe5504afb6e9ab6..7cd08268f3b93b7c17c6b3ac73f40542a7734b7f 100644 (file)
@@ -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)