Re: [PATCH 3/5] arm64: versal: fix dfu alt buffer clearing

2025-04-13 Thread Michal Simek
On 4/7/25 19:05, Vincent Stehlé wrote: The set_dfu_alt_info() function calls the ALLOC_CACHE_ALIGN_BUFFER() macro to declare a `buf' variable pointer into an array allocated on the stack. It then calls the memset() function to clear the useable portion of the array using the idiomatic expressi

RE: [PATCH 3/5] arm64: versal: fix dfu alt buffer clearing

2025-04-10 Thread Begari, Padmarao
rd ; Patrick Delaunay > ; Tom Rini > Subject: [PATCH 3/5] arm64: versal: fix dfu alt buffer clearing > > Caution: This message originated from an External Source. Use proper caution > when opening attachments, clicking links, or responding. > > > The set_dfu_alt_info() function ca

[PATCH 3/5] arm64: versal: fix dfu alt buffer clearing

2025-04-07 Thread Vincent Stehlé
The set_dfu_alt_info() function calls the ALLOC_CACHE_ALIGN_BUFFER() macro to declare a `buf' variable pointer into an array allocated on the stack. It then calls the memset() function to clear the useable portion of the array using the idiomatic expression `sizeof(buf)'. While this would indeed w