On Mon, Apr 03, 2017 at 06:30:07PM +0300, Horia Geantă wrote: > In case caam_jr_alloc() fails, ctx->dev carries the error code, > thus accessing it with dev_err() is incorrect. > > Cc: <stable@xxxxxxxxxxxxxxx> # 4.8+ > Fixes: 8c419778ab57e ("crypto: caam - add support for RSA algorithm") > Signed-off-by: Horia Geantă <horia.geanta@xxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt