Re: [PATCH] tpm: check the chip reference before using it

Andi Shyti
2012-05-28T16:37:43Z

Hi,

On Mon, May 28, 2012 at 06:23:12PM +0200, Andi Shyti wrote:
> void tpm_dev_release(struct device *dev)
> {
> + if (!chip)
> + return;
> +
> struct tpm_chip *chip = dev_get_drvdata(dev);

sorry wrong patch file... this is not going to work...
I'll resend it

Andi