Re: [PATCH v2 06/11] hw/ppc/pnv: Avoid dynamic stack allocation

2022-10-24 Thread Richard Henderson
On 8/20/22 01:39, Peter Maydell wrote: From: Philippe Mathieu-Daudé Use autofree heap allocation instead of variable-length array on the stack. Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson Signed-off-by: Peter Maydell Reviewed-by: Peter Maydell --- hw/ppc/pnv.c |

Re: [PATCH v2 06/11] hw/ppc/pnv: Avoid dynamic stack allocation

2022-08-19 Thread Daniel Henrique Barboza
On 8/19/22 12:39, Peter Maydell wrote: From: Philippe Mathieu-Daudé Use autofree heap allocation instead of variable-length array on the stack. Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson Signed-off-by: Peter Maydell Reviewed-by: Peter Maydell Reviewed-by: Daniel Henr

[PATCH v2 06/11] hw/ppc/pnv: Avoid dynamic stack allocation

2022-08-19 Thread Peter Maydell
From: Philippe Mathieu-Daudé Use autofree heap allocation instead of variable-length array on the stack. Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson Signed-off-by: Peter Maydell Reviewed-by: Peter Maydell --- hw/ppc/pnv.c | 4 ++-- hw/ppc/spapr.c |