diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2021-10-29 23:02:09 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-10-30 18:39:37 +0200 |
| commit | 12201fe38a592695eea647c9600d08a4622c1431 (patch) | |
| tree | 16b832e10f1f345bc21434483a1cb688c9340a11 /hw/intc/xive.c | |
| parent | 46ea1f8236ffdf80c52dad79ee7d2dc18ed5eda1 (diff) | |
| download | focaccia-qemu-12201fe38a592695eea647c9600d08a4622c1431.tar.gz focaccia-qemu-12201fe38a592695eea647c9600d08a4622c1431.zip | |
hw/intc/sh_intc: Use array index instead of pointer arithmetics
Address of element i is one word thus clearer than array + i. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <f49c9b1dee1fcaf374b092d862a6821907d5fcdc.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/intc/xive.c')
0 files changed, 0 insertions, 0 deletions