On 8/20/22 01:39, Peter Maydell wrote:
From: Philippe Mathieu-Daudé<phi...@redhat.com>
We know 'x * y' will be at most 'X_MAX * Y_MAX' (which is not
a big value, it is actually 84). Instead of having the compiler
use variable-length array, declare an array able to hold the
maximum 'x * y'.
Signed-off-by: Philippe Mathieu-Daudé<phi...@redhat.com>
Reviewed-by: Marc-André Lureau<marcandre.lur...@redhat.com>
Reviewed-by: Samuel Thibault<samuel.thiba...@ens-lyon.org>
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
chardev/baum.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~