summaryrefslogtreecommitdiffstats
path: root/hw/gpio/nrf51_gpio.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2021-04-29 13:27:08 +0200
committerDr. David Alan Gilbert2021-05-13 19:21:14 +0200
commit542147f4e5701fbb5b41c13d64ce90200f4ca766 (patch)
tree37f47d9e5bc426911a6ec08293b7c18db2fe6ee1 /hw/gpio/nrf51_gpio.c
parentmigration/multifd: Print used_length of memory block (diff)
downloadqemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.tar.gz
qemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.tar.xz
qemu-542147f4e5701fbb5b41c13d64ce90200f4ca766.zip
migration/ram: Use offset_in_ramblock() in range checks
We never read or write beyond the used_length of memory blocks when migrating. Make this clearer by using offset_in_ramblock() consistently. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20210429112708.12291-11-david@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/gpio/nrf51_gpio.c')
0 files changed, 0 insertions, 0 deletions