Re: [Qemu-devel] [PATCH] sii3112: Add explicit type casts to avoid unintended sign extension

2018-01-18 Thread David Gibson
On Thu, Jan 18, 2018 at 07:18:59PM +0100, BALATON Zoltan wrote: > Noticed by Coverity > > Reported-by: Peter Maydell > Signed-off-by: BALATON Zoltan Applied to ppc-for-2.12, thanks. > --- > hw/ide/sii3112.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/h

[Qemu-devel] [PATCH] sii3112: Add explicit type casts to avoid unintended sign extension

2018-01-18 Thread BALATON Zoltan
Noticed by Coverity Reported-by: Peter Maydell Signed-off-by: BALATON Zoltan --- hw/ide/sii3112.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/ide/sii3112.c b/hw/ide/sii3112.c index e2f5562..17aa930 100644 --- a/hw/ide/sii3112.c +++ b/hw/ide/sii3112.c @@ -79