Re: [PATCH] clk: at91: Fix initializing arrays

2023-09-29 Thread Eugen Hristev
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.

[PATCH] clk: at91: Fix initializing arrays

2023-09-24 Thread Francois Berder
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 ---