aboutsummaryrefslogtreecommitdiff
path: root/linux-headers
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-06-07 15:32:06 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-07-12 12:27:38 +0200
commit66c152d7b45ae8bd2a021226bb7689424d872687 (patch)
tree685421cb11e50a6dd9d4c52a60307e84f1ecf110 /linux-headers
parentc60b292106132f72c1a5afbbd9c55dbc341d1620 (diff)
downloadqemu-66c152d7b45ae8bd2a021226bb7689424d872687.zip
qemu-66c152d7b45ae8bd2a021226bb7689424d872687.tar.gz
qemu-66c152d7b45ae8bd2a021226bb7689424d872687.tar.bz2
hw/sd/sdcard: Extract address_in_range() helper, log invalid accesses
Multiple commands have to check the address requested is valid. Extract this code pattern as a new address_in_range() helper, and log invalid accesses as guest errors. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Message-Id: <20210624142209.1193073-3-f4bug@amsat.org>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions