qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH target-arm v3] display: avoid multi-statement ma


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH target-arm v3] display: avoid multi-statement macro
Date: Mon, 27 Jan 2014 19:07:37 +0000

On 27 January 2014 18:12, Paolo Bonzini <address@hidden> wrote:
> For blizzard, pl110 and tc6393xb this is harmless, but for pxa2xx
> Coverity noticed that it is used inside an "if" statement.
> Fix it because it's the file with the highest number of defects
> in the whole QEMU tree!  Use "do...while (0)", or just remove the
> semicolon if there's a single statement in the macro.
>
> Signed-off-by: Paolo Bonzini <address@hidden>

Thanks, applied to target-arm.next.

-- PMM



reply via email to

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