diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-02-13 09:58:16 (GMT) |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-02-20 07:59:32 (GMT) |
commit | 4f3b193dee4423d8c89c9a3e8e05f9197ea459a4 (patch) | |
tree | 56561ff7da6f2fb42e868270e6988f7218f361d4 /Documentation/kdump | |
parent | c0b5eed110dcf520aadafefbcc40658cbdd18b95 (diff) | |
download | linux-4f3b193dee4423d8c89c9a3e8e05f9197ea459a4.tar.xz |
tpm: fix: return rc when devm_add_action() fails
Call put_device() and return error code if devm_add_action() fails.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reported-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Fixes: 8e0ee3c9faed ("tpm: fix the cleanup of struct tpm_chip")
Diffstat (limited to 'Documentation/kdump')
0 files changed, 0 insertions, 0 deletions