]> git.baikalelectronics.ru Git - kernel.git/commit
efi: x86: Fix config name for setting the NX-compatibility flag in the PE header
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 1 Jun 2022 11:50:43 +0000 (13:50 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 1 Jun 2022 12:07:48 +0000 (14:07 +0200)
commit676e67359582ef0f2bd2eaa620e9b0bf976d56b6
tree37ff05b497509cfee4e27ed41ce5e35e06f108c0
parented860009cd142053900c8898a44bffeeb4db78c1
efi: x86: Fix config name for setting the NX-compatibility flag in the PE header

Commit 21b68da7bf4a ("efi: x86: Set the NX-compatibility flag in the PE
header") intends to set the compatibility flag, i.e.,
IMAGE_DLL_CHARACTERISTICS_NX_COMPAT, but this ifdef is actually dead as
the CONFIG_DXE_MEM_ATTRIBUTES Kconfig option does not exist.

The config is actually called EFI_DXE_MEM_ATTRIBUTES. Adjust the ifdef
to use the intended config name.

The issue was identified with ./scripts/checkkconfigsymbols.py.

Fixes: 21b68da7bf4a ("efi: x86: Set the NX-compatibility flag in the PE header")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20220601115043.7678-1-lukas.bulwahn@gmail.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/boot/header.S