]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: Switch to appropriate helper to load EFI variable contents
authorArd Biesheuvel <ardb@kernel.org>
Fri, 17 Jun 2022 16:12:06 +0000 (18:12 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jun 2022 10:43:25 +0000 (12:43 +0200)
commitb238fece8fcd3862397511e34e755943e3ca6f24
tree13bd72f3db6315525f29b9988fc4ed1544d2e777
parent64ba4d05d1c748d267ea1f5e5580fff280a58543
brcmfmac: Switch to appropriate helper to load EFI variable contents

Avoid abusing the efivar layer by invoking it with locally constructed
efivar_entry instances, and instead, just call the EFI routines directly
if available.

Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c