summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@gmail.com>2012-05-28 18:42:45 +0200
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>2012-06-12 18:53:51 -0300
commit3072928ff2457642af0da745b88f0420b4596c48 (patch)
treed097ad703bcc2f25872bac17a75088a2af4ea725 /samples
parentdad79cb89254ce646906846b0f0cf7995d626710 (diff)
downloadlinux-3072928ff2457642af0da745b88f0420b4596c48.tar.gz
linux-3072928ff2457642af0da745b88f0420b4596c48.tar.bz2
linux-3072928ff2457642af0da745b88f0420b4596c48.zip
tpm: check the chip reference before using it
If a driver calls tpm_dev_vendor_release for a device already released then the driver will oops. Signed-off-by: Andi Shyti <andi.shyti@gmail.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions