summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2021-01-12 09:25:27 +0800
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-02-21 18:41:46 +0100
commit6902759965852ae9fc099bb32af8f8dc4a098733 (patch)
tree84686cad27f5cccb802aa3c51a1f25d0b01c9e11 /scripts/qapi
parent283eae174e4944e4f26160aceeec444a13e52b03 (diff)
downloadfocaccia-qemu-6902759965852ae9fc099bb32af8f8dc4a098733.tar.gz
focaccia-qemu-6902759965852ae9fc099bb32af8f8dc4a098733.zip
hw/intc/loongson_liointc: Fix per core ISR handling
Per core ISR is a set of 32-bit registers spaced by 8 bytes.
This patch fixed calculation of it's size and also added check
of alignment at reading & writing.

Fixes: Coverity CID 1438965 and CID 1438967
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Message-Id: <20210112012527.28927-1-jiaxun.yang@flygoat.com>
[PMD: Added Coverity CID]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions