Re: [PATCH v2 2/2] hwrng: stm32 - cache device pointer in struct stm32_rng_private

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/31/24 7:06 AM, Herbert Xu wrote:
On Thu, May 16, 2024 at 09:37:41PM +0200, Marek Vasut wrote:
Place device pointer in struct stm32_rng_private and use it all over the
place to get rid of the horrible type casts throughout the driver.

No functional change.

Acked-by: Gatien Chevallier <gatien.chevallier@xxxxxxxxxxx>
Signed-off-by: Marek Vasut <marex@xxxxxxx>

I think you should remove the assignment of rng.priv too as nothing
should use it anymore after your patch.

Fixed in V3, thanks.




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux