[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-crypto-vger
Subject:    Re: [PATCH v5 03/18] crypto: sun8i-ss: support hash algorithms
From:       Herbert Xu <herbert () gondor ! apana ! org ! au>
Date:       2020-08-28 6:47:49
Message-ID: 20200828064749.GA26312 () gondor ! apana ! org ! au
[Download RAW message or body]

On Fri, Aug 21, 2020 at 01:43:20PM +0000, Corentin Labbe wrote:
>
> +	err = pm_runtime_get_sync(op->ss->dev);
> +	if (err < 0)
> +		goto error_pm;
> +	return 0;

You need to handle the error case like this:

https://patchwork.kernel.org/patch/11728595/

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic