Re: [Qemu-devel] [PATCH 2/2] cpu: Assert asidx_from_attrs return value in range

2018-07-02 Thread Peter Maydell
On 30 June 2018 at 01:02, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > include/qom/cpu.h | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/include/qom/cpu.h b/include/qom/cpu.h > index cce2fd6acc..bd796579ee 100644 > --- a/include/qom/cpu.h >

[Qemu-devel] [PATCH 2/2] cpu: Assert asidx_from_attrs return value in range

2018-06-29 Thread Richard Henderson
Signed-off-by: Richard Henderson --- include/qom/cpu.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/qom/cpu.h b/include/qom/cpu.h index cce2fd6acc..bd796579ee 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -620,11 +620,13 @@ static inline hwaddr