Hi Ian & Wei,
On 02/06/2021 10:25, Jan Beulich wrote:
On 01.06.2021 17:41, Anthony PERARD wrote:
Commit cf8c4d3d13b8 made some preparation to have one day
variable-length-array argument, but didn't declare the array in the
function prototype the same way as in the function definition. And now
GCC 11 complains about it.
Fixes: cf8c4d3d13b8 ("tools/libs/foreignmemory: pull array length argument to map
forward")
Signed-off-by: Anthony PERARD <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
Ian - this (or whichever alternative might be chosen to address gcc11's
valid complaint) also will want backporting.
I was about to commit this patch and noticed that there is still a
missing an ack from the tools maintainers. @Ian, @Wei, can you provide one?
Cheers,
--
Julien Grall