Re: [PATCH v3] crypto: caam - add missing put_device() call

From: Horia Geanta
Date: Mon Feb 11 2019 - 07:51:47 EST


On 2/11/2019 2:31 PM, Wen Yang wrote:
> The of_find_device_by_node() takes a reference to the underlying device
> structure, we should release that reference.
>
> Fixes: 35af64038623 ("crypto: caam - Check for CAAM block presence before registering with crypto layer")
Fixes: b189817cf789 ("crypto: caam/qi - add ablkcipher and authenc algorithms")

> Signed-off-by: Wen Yang <yellowriver2010@xxxxxxxxxxx>
Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx>

Thanks,
Horia