lkml.org 
[lkml]   [2023]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 0/2] hwrng: st - fix potential race condition
On Fri, Jun 16, 2023 at 09:58:11AM +0100, Martin Kaiser wrote:
> Fix a potential race condition in the st-rng driver. There's a short timeframe
> where the driver is still registered but its peripheral clock is disabled.
>
> Add support for compile-testing the driver. I do not have any hardware that
> supports st-rng.
>
> v2: Remove some more obsolete code and rephrase the explanation. The point is
> that devres does now disable the clock.
>
> Martin Kaiser (2):
> hwrng: st - support compile-testing
> hwrng: st - keep clock enabled while hwrng is registered
>
> drivers/char/hw_random/Kconfig | 2 +-
> drivers/char/hw_random/st-rng.c | 21 +--------------------
> 2 files changed, 2 insertions(+), 21 deletions(-)
>
> --
> 2.30.2

All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2023-06-23 10:24    [W:0.050 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site