diff options
author | Francois Berder | 2023-09-24 11:58:54 +0200 |
---|---|---|
committer | Eugen Hristev | 2023-09-29 16:45:40 +0300 |
commit | 7b4ffe8c32db284e25d3a2636904def8e093da9e (patch) | |
tree | 955dd4aa32e1b71edc5889d28d8af3935a468d56 /board/xilinx | |
parent | d6b4359e50bb1dc567f6596c67b25a3c7a8ff130 (diff) |
clk: at91: Fix initializing arrays
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@outlook.fr>
Diffstat (limited to 'board/xilinx')
0 files changed, 0 insertions, 0 deletions