Peter Maydell <peter.mayd...@linaro.org> writes:
> In a few places in the ITS command handling functions, we were > doing the range-check of an event ID or device ID only after using > it as a table index; move the checks to before the uses. > > This misordering wouldn't have very bad effects because the > tables are in guest memory anyway. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée