diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-02-25 11:58:48 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-09-04 21:56:09 +0300 |
commit | 9c377852ddfdc557b1370f196b0cfdf28d233460 (patch) | |
tree | 24dcb39c21aefc488e4d4703aca11049b3c71ec4 /fs/nfs/getroot.c | |
parent | 708283abf896dd4853e673cc8cba70acaf9bf4ea (diff) |
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: 4d2732882703 ("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>
Diffstat (limited to 'fs/nfs/getroot.c')
0 files changed, 0 insertions, 0 deletions