Tom Rini e97c89cc15 qemu: dfu: Correct memset call in set_dfu_alt_info
When building with clang, we see:
board/emulation/common/qemu_dfu.c:51:24: warning: 'memset' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]

As we're calling memset with the length set to the size of the pointer
and not the size of the buffer. Correct this with a call of the size of
the buffer itself.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2023-04-25 15:31:28 -04:00
..
2023-02-09 16:32:25 -05:00
2022-11-14 09:33:36 -05:00
2023-02-07 14:33:49 -05:00
2022-04-28 09:26:44 -04:00
2022-07-08 17:57:34 -04:00
2023-04-21 15:16:00 +08:00
2023-02-10 07:41:40 -05:00
2022-12-14 22:31:33 +00:00
2023-03-15 01:38:19 +01:00
2023-02-10 07:41:41 -05:00