lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJVWlkj+TmywIEY/@gondor.apana.org.au>
Date:   Fri, 23 Jun 2023 16:23:50 +0800
From:   Herbert Xu <herbert@...dor.apana.org.au>
To:     Martin Kaiser <martin@...ser.cx>
Cc:     linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] hwrng: imx-rngc - fix the timeout for init and self check

On Thu, Jun 15, 2023 at 03:49:59PM +0100, Martin Kaiser wrote:
> Fix the timeout that is used for the initialisation and for the self
> test. wait_for_completion_timeout expects a timeout in jiffies, but
> RNGC_TIMEOUT is in milliseconds. Call msecs_to_jiffies to do the
> conversion.
> 
> Cc: stable@...r.kernel.org
> Fixes: 1d5449445bd0 ("hwrng: mx-rngc - add a driver for Freescale RNGC")
> Signed-off-by: Martin Kaiser <martin@...ser.cx>
> ---
>  drivers/char/hw_random/imx-rngc.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ