diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2020-01-13 18:22:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-01-20 08:14:28 +0100 |
commit | 62b605b53ad4dc6d9ec11ab4c7aa61df10b76af6 (patch) | |
tree | d9e9038fa17b2d94c95fb3eb09466dcffd83931a /arch/x86/platform/efi/efi.c | |
parent | efi/arm: Defer probe of PCIe backed efifb on DT systems (diff) | |
download | linux-dev-62b605b53ad4dc6d9ec11ab4c7aa61df10b76af6.tar.xz linux-dev-62b605b53ad4dc6d9ec11ab4c7aa61df10b76af6.zip |
efi: Fix comment for efi_mem_type() wrt absent physical addresses
A previous commit f99afd08a45f ("efi: Update efi_mem_type() to return an
error rather than 0") changed the return value from EFI_RESERVED_TYPE to
-EINVAL when the searched physical address is not present in any memory
descriptor. But the comment preceding the function never changed. Let's
change the comment now to reflect the new return value -EINVAL.
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200113172245.27925-10-ardb@kernel.org
Diffstat (limited to 'arch/x86/platform/efi/efi.c')
0 files changed, 0 insertions, 0 deletions