From: Philippe Mathieu-Daudé<philmd@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é<philmd@redhat.com>
Reviewed-by: Marc-André Lureau<marcandre.lureau@redhat.com>
Reviewed-by: Samuel Thibault<samuel.thibault@ens-lyon.org>
Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
chardev/baum.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)