On Sun, Sep 15, 2024 at 12:22:12PM +0200, Christophe JAILLET wrote: > The type of the last parameter given to devm_add_action_or_reset() is > "struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to > "struct device *". > > Pass the correct parameter to devm_add_action_or_reset() so that the > resources are released as expected. > > Fixes: f414de2e2fff ("crypto: caam - use devres to de-initialize QI") > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- > This patch is speculative review with care. > --- > drivers/crypto/caam/qi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) All 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