Re: [PATCH] crypto: jitter - replace ARRAY_SIZE definition with header include
From: Herbert Xu
Date: Fri Jul 18 2025 - 07:15:54 EST
Ruben Wauters <rubenru09@xxxxxxx> wrote:
> The ARRAY_SIZE macro is already defined in linux/array_size.h
>
> This patch replaces the ARRAY_SIZE definition in jitterentropy.c with
> an include, to make the code cleaner, and help reduce the number of
> duplicate ARRAY_SIZE definitions in the codebase.
>
> Signed-off-by: Ruben Wauters <rubenru09@xxxxxxx>
> ---
> crypto/jitterentropy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt