On Mon, Jan 16, 2017 at 03:12:11PM +0200, Jarkko Sakkinen wrote:

> @@ -199,7 +227,9 @@ struct tpm_chip *tpm_chip_alloc(struct device *pdev,
>       return chip;
>  
>  out:
> +     put_device(&chip->devrm);
>       put_device(&chip->dev);
> +     put_device(&chip->devrm);
>       return ERR_PTR(rc);
>  }

Something has gone wrong here..

Jason

Reply via email to