Re: [PATCH 05/26] tcg: Remove error return from tcg_region_initial_alloc__locked

2021-03-13 Thread Philippe Mathieu-Daudé
On 3/11/21 1:21 AM, Richard Henderson wrote: > All callers immediately assert on error, so move the assert > into the function itself. > > Signed-off-by: Richard Henderson > --- > tcg/tcg.c | 19 ++- > 1 file changed, 6 insertions(+), 13 deletions(-) Reviewed-by: Philippe Mathie

[PATCH 05/26] tcg: Remove error return from tcg_region_initial_alloc__locked

2021-03-10 Thread Richard Henderson
All callers immediately assert on error, so move the assert into the function itself. Signed-off-by: Richard Henderson --- tcg/tcg.c | 19 ++- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index 0a2e5710de..2b631fccdf 100644 --- a/tcg/tcg.c