qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/3] fix clang negative signed bit shift warning


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 0/3] fix clang negative signed bit shift warning
Date: Tue, 17 Nov 2015 11:53:16 +0800
User-agent: Mutt/1.5.23 (2015-06-09)

On Tue, Nov 10, 2015 at 03:57:32PM +0000, Stefan Hajnoczi wrote:
> LLVM's clang 3.7.0 compile warns about bit shifting negative numbers because
> the result is undefined.  This series includes 3 small fixes to appease clang.
> 
> Stefan Hajnoczi (3):
>   monitor: avoid clang shifting negative signed warning
>   tpm: avoid clang shifting negative signed warning
>   disas/arm: avoid clang shifting negative signed warning
> 
>  disas/arm.c           | 2 +-
>  hw/tpm/tpm_tis.c      | 2 +-
>  target-i386/monitor.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> -- 
> 2.5.0
> 

Thanks, applied Patches 2 & 3 to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]