]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: fw: get sb_sel_ver via get_unaligned_le32()
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 17 Feb 2025 06:43:05 +0000 (14:43 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Feb 2025 01:50:44 +0000 (09:50 +0800)
commit2f9da853f4d848d23bade4c22931ea0f5a011674
treebae39162998aca5fe4cf54b8941c639929c211a2
parentf11d042b3a2e92ab1aa10e0da8e290bcdcf31d39
wifi: rtw89: fw: get sb_sel_ver via get_unaligned_le32()

The sb_sel_ver is selection version for secure boot recorded in firmware
binary data, and its size is 4 and offset is 58 (not natural alignment).
Use get_unaligned_le32() to get this value safely. Find this by reviewing.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250217064308.43559-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c