aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2022-02-18 18:05:59 +0000
committerArd Biesheuvel <[email protected]>2022-02-28 09:07:50 +0000
commit258dd902022cb10c83671176688074879517fd21 (patch)
tree5209100eaa713d38bc5a1dc0f09214f1afef2dee /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentriscv/efi_stub: Fix get_boot_hartid_from_fdt() return value (diff)
downloadkernel-258dd902022cb10c83671176688074879517fd21.tar.gz
kernel-258dd902022cb10c83671176688074879517fd21.zip
efivars: Respect "block" flag in efivar_entry_set_safe()
When the "block" flag is false, the old code would sometimes still call check_var_size(), which wrongly tells ->query_variable_store() that it can block. As far as I can tell, this can't really materialize as a bug at the moment, because ->query_variable_store only does something on X86 with generic EFI, and in that configuration we always take the efivar_entry_set_nonblocking() path. Fixes: ca0e30dcaa53 ("efi: Add nonblocking option to efi_query_variable_store()") Signed-off-by: Jann Horn <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions