[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH] lm32: milkymist-tmu2: fix another integer ove
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH] lm32: milkymist-tmu2: fix another integer overflow |
Date: |
Thu, 12 Jan 2017 14:01:55 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 |
06.01.2017 20:45, Peter Maydell wrote:
> Don't truncate the multiplication and do a 64 bit one instead
> because the result is stored in a 64 bit variable.
>
> This fixes a similar coverity warning to commit 237a8650d640,
> in a similar way, and is the other half of the fix for
> coverity CID 1167561.
Applied to -trivial, thanks!
/mjt