[PATCH] clk: at91: Fix initializing arrays
Eugen Hristev
eugen.hristev at collabora.com
Fri Sep 29 15:56:03 CEST 2023
On 9/24/23 12:58, Francois Berder wrote:
> Arrays are not cleared entirely because ARRAY_SIZE
> returns the number of elements in an array, not the size
> in bytes.
> This commit fixes the calls to memset by providing the
> array size in bytes instead of the number of elements
> in the array.
>
> Signed-off-by: Francois Berder <fberder at outlook.fr>
> ---
Applied to u-boot-at91/ master, thanks !
More information about the U-Boot
mailing list