summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Walle2016-10-13 00:35:07 +0200
committerMichael Tokarev2016-10-28 17:17:23 +0200
commit237a8650d640adfb00b65358891fed0e84edfd09 (patch)
treec3d054c689f94d763608c9377192e76631d8215b /scripts
parenttarget-lm32: disable asm logging via LOG_DIS() (diff)
downloadqemu-237a8650d640adfb00b65358891fed0e84edfd09.tar.gz
qemu-237a8650d640adfb00b65358891fed0e84edfd09.tar.xz
qemu-237a8650d640adfb00b65358891fed0e84edfd09.zip
lm32: milkymist-tmu2: fix integer overflow
Don't truncate the multiplication and do a 64 bit one instead because because the result is stored in a 64 bit variable. Spotted by coverity, CID 1167561. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions