Skip to content
Commit 91c1c092 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi: capsule: use atomic kmap for transient sglist mappings



Don't use the heavy-weight kmap() API to create short-lived mappings
of the scatter-gather list entries that are released as soon as the
entries are written. Instead, use kmap_atomic(), which is more suited
to this purpose.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent b283477d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment