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

From: Andi Shyti
Date: Mon May 28 2012 - 12:38:10 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/