Re: [PATCH v7 3/9] crypto: caam - use devm_kzalloc to allocate JR data

From: Horia Geanta
Date: Tue Feb 11 2020 - 13:23:34 EST


On 1/27/2020 6:57 PM, Andrey Smirnov wrote:
> Use devm_kzalloc() to allocate JR data in order to make sure that it
> is initialized consistently every time.
>
The commit message is a bit vague.

I assume this is needed in patch 4/9, which adds a new member (hwrng)
in caam_drv_private_jr structure.

If so, it's probably better to have the change merged into patch 4/9.

Horia