On Thu, Mar 28, 2019 at 03:26:35PM +0000, Peter Maydell wrote: > In the stripe8() function we use a variable length array; however > we know that the maximum length required is MAX_NUM_BUSSES. Use > a fixed-length array and an assert instead. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > hw/ssi/xilinx_spips.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) >
I really think is a good idea to remove variable length arrays! Reviewed-by: Stefano Garzarella <sgarz...@redhat.com> Thanks, Stefano