summaryrefslogtreecommitdiff
path: root/test/py/u_boot_console_exec_attach.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-04-06 09:58:40 -0400
committerTom Rini <trini@konsulko.com>2023-04-25 15:31:28 -0400
commite97c89cc15b90c72dcf6a7a943fb52743a1f70fa (patch)
treed2e1be260cb9b08cdd56e9b956643d7c1c87d76f /test/py/u_boot_console_exec_attach.py
parentac44c6cf957a91cea5271334c2d6e6cd867cb5d6 (diff)
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>
Diffstat (limited to 'test/py/u_boot_console_exec_attach.py')
0 files changed, 0 insertions, 0 deletions