Commit 906ac470 authored by Eddie James's avatar Eddie James Committed by Greg Kroah-Hartman
Browse files

tpm: Use managed allocation for bios event log



[ Upstream commit 441b7152 ]

Since the bios event log is freed in the device release function,
let devres handle the deallocation. This will allow other memory
allocation/mapping functions to be used for the bios event log.

Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Tested-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
Stable-dep-of: a3a860bc ("tpm: Change to kvalloc() in eventlog/acpi.c")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5e8bee0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment