tpm_crb: Fix an error handling path in crb_acpi_add()
Some error paths don't call acpi_put_table() before returning. Branch to the correct place instead of doing some direct return. Fixes: 4d273288 ("tpm_crb: Add support for CRB devices based on Pluton") Signed-off-by:Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by:
Matthew Garrett <mgarrett@aurora.tech> Reviewed-by:
Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by:
Jarkko Sakkinen <jarkko@kernel.org>
parent
708283ab
Please register or sign in to comment