summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/redboot.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-02-13 10:58:16 +0100
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-02-20 08:59:32 +0100
commit4f3b193dee4423d8c89c9a3e8e05f9197ea459a4 (patch)
tree56561ff7da6f2fb42e868270e6988f7218f361d4 /drivers/mtd/redboot.c
parenttpm: fix: set continueSession attribute for the unseal operation (diff)
downloadlinux-4f3b193dee4423d8c89c9a3e8e05f9197ea459a4.tar.xz
linux-4f3b193dee4423d8c89c9a3e8e05f9197ea459a4.zip
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 'drivers/mtd/redboot.c')
0 files changed, 0 insertions, 0 deletions