[PATCH 0/7] staging: r8188eu: fix and clean up some firmware code

From: Michael Straube
Date: Thu Apr 14 2022 - 04:39:14 EST


This series fixes wrong size of struct rt_firmware_hdr in the first
patch and does some cleanups in rtl8188e_firmware_download() in the
other patches.

Tested on x86_64 with Inter-Tech DMG-02.

Michael Straube (7):
staging: r8188eu: fix struct rt_firmware_hdr
staging: r8188eu: clean up comments in struct rt_firmware_hdr
staging: r8188eu: rename fields of struct rt_firmware_hdr
staging: r8188eu: use sizeof instead of hardcoded firmware header size
staging: r8188eu: remove variables from rtl8188e_firmware_download()
staging: r8188eu: always log firmware info
staging: r8188eu: check firmware header existence before access

drivers/staging/r8188eu/core/rtw_fw.c | 75 ++++++++++-----------------
1 file changed, 26 insertions(+), 49 deletions(-)

--
2.35.1