aboutsummaryrefslogtreecommitdiff
path: root/hw/microblaze
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-05-09 18:44:00 +0200
committerLeon Alrae <leon.alrae@imgtec.com>2016-05-12 11:01:05 +0100
commit9d989c732b153fe1576adbddb9879313a24d3cd2 (patch)
treefaa0254b8b0ce8efee88049824515e6c6503bf3a /hw/microblaze
parentbfc766d38e1fae5767d43845c15c79ac8fa6d6af (diff)
downloadqemu-9d989c732b153fe1576adbddb9879313a24d3cd2.zip
qemu-9d989c732b153fe1576adbddb9879313a24d3cd2.tar.gz
qemu-9d989c732b153fe1576adbddb9879313a24d3cd2.tar.bz2
target-mips: fix call to memset in soft reset code
Recent versions of GCC report the following error when compiling target-mips/helper.c: qemu/target-mips/helper.c:542:9: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] This is indeed correct and due to a wrong usage of sizeof(). Fix that. Cc: Stefan Weil <sw@weilnetz.de> Cc: Leon Alrae <leon.alrae@imgtec.com> Cc: qemu-stable@nongnu.org LP: https://bugs.launchpad.net/qemu/+bug/1577841 Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Leon Alrae <leon.alrae@imgtec.com> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/microblaze')
0 files changed, 0 insertions, 0 deletions