Re: [PATCH] qemu: dfu: Correct memset call in set_dfu_alt_info

2023-04-26 Thread Tom Rini
On Thu, Apr 06, 2023 at 09:58:40AM -0400, Tom Rini wrote: > 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

Re: [PATCH] qemu: dfu: Correct memset call in set_dfu_alt_info

2023-04-07 Thread Sughosh Ganu
On Thu, 6 Apr 2023 at 19:28, Tom Rini wrote: > > 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

Re: [PATCH] qemu: dfu: Correct memset call in set_dfu_alt_info

2023-04-06 Thread Simon Glass
On Fri, 7 Apr 2023 at 01:58, Tom Rini wrote: > > 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

[PATCH] qemu: dfu: Correct memset call in set_dfu_alt_info

2023-04-06 Thread Tom Rini
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