qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 00/40] ppc patch queue 2015-06-03


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 00/40] ppc patch queue 2015-06-03
Date: Fri, 5 Jun 2015 14:33:11 +0100

On 3 June 2015 at 22:45, Alexander Graf <address@hidden> wrote:
> Hi Peter,
>
> This is my current patch queue for ppc.  Please pull.

This is applied, but can you fix the clang sanitizer warnings,
please?

hw/ppc/spapr_drc.c:59:24: runtime error: left shift of negative value -1
hw/ppc/spapr_drc.c:587:19: runtime error: left shift of negative value -1

Problem looks to be in:
#define DRC_INDEX_ID_MASK (~(~0 << DRC_INDEX_TYPE_SHIFT))

which is doing left shifts on a negative signed number.

thanks
-- PMM



reply via email to

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