Re: [PATCH 14/23] hw/usb/hcd-ohci: Use definition to avoid dynamic stack allocation

2021-05-07 Thread Richard Henderson
On 5/5/21 2:10 PM, Philippe Mathieu-Daudé wrote: The compiler isn't clever enough to figure 'width' is a constant, so help it by using a definitions instead. Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/hcd-ohci.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Same comment

[PATCH 14/23] hw/usb/hcd-ohci: Use definition to avoid dynamic stack allocation

2021-05-05 Thread Philippe Mathieu-Daudé
The compiler isn't clever enough to figure 'width' is a constant, so help it by using a definitions instead. Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/hcd-ohci.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index 1cf28167