commit | 14f9b11efad96aac7f5cbd2cbfa87c7a3b91aaf9 | [log] [tgz] |
---|---|---|
author | Francois Berder <fberder@outlook.fr> | Sun Sep 24 11:58:54 2023 +0200 |
committer | Eugen Hristev <eugen.hristev@collabora.com> | Fri Sep 29 16:45:40 2023 +0300 |
tree | 955dd4aa32e1b71edc5889d28d8af3935a468d56 | |
parent | d8f077a25802b338bfa214f3204230bb6469ac79 [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>