diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-01-11 17:10:37 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-01-20 16:04:57 +0000 |
commit | 905720f18d77e9ca8737d3ff047cad9079cbde6d (patch) | |
tree | 4e1c96570080a3744b06924dc568619c0a1c3fce /hw/gpio/pl061.c | |
parent | 8f809f699251dcf28811b9693a196ff02367d7d6 (diff) | |
download | qemu-905720f18d77e9ca8737d3ff047cad9079cbde6d.zip qemu-905720f18d77e9ca8737d3ff047cad9079cbde6d.tar.gz qemu-905720f18d77e9ca8737d3ff047cad9079cbde6d.tar.bz2 |
hw/intc/arm_gicv3_its: Convert int ID check to num_intids convention
The bounds check on the number of interrupt IDs is correct, but
doesn't match our convention; change the variable name, initialize it
to the 2^n value rather than (2^n)-1, and use >= instead of > in the
comparison.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20220111171048.3545974-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/gpio/pl061.c')
0 files changed, 0 insertions, 0 deletions