tpm: do not ignore memblock_reserve return value
authorGregory Price <gourry@gourry.net>
Fri, 13 Sep 2024 23:19:52 +0000 (19:19 -0400)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 15 Oct 2024 18:27:29 +0000 (20:27 +0200)
commitc33c28f9f6e017702374e1ab907dfa5a63db5301
tree74d2c28e5dbadb2ab5d3164f431252a374d215a5
parente6d654e9f5a97742cfe794b1c4bb5d3fb2d25e98
tpm: do not ignore memblock_reserve return value

tpm code currently ignores a relevant failure case silently.
Add an error to make this failure non-silent.

Signed-off-by: Gregory Price <gourry@gourry.net>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/tpm.c