Re: [Qemu-devel] [PATCH] hw/omap_dss.c: Fix !-vs-~ bug in handling DISPC_CONTROL

2011-11-09 Thread Anthony Liguori
On 11/09/2011 11:20 AM, Peter Maydell wrote: Fix a bug revealed by a coverity scan (see bug 887883) which meant that we would never print the warning about unpredictable behaviour if a nonexistent overlay is enabled. Signed-off-by: Peter Maydell Applied. Thanks. Regards, Anthony Liguori -

[Qemu-devel] [PATCH] hw/omap_dss.c: Fix !-vs-~ bug in handling DISPC_CONTROL

2011-11-09 Thread Peter Maydell
Fix a bug revealed by a coverity scan (see bug 887883) which meant that we would never print the warning about unpredictable behaviour if a nonexistent overlay is enabled. Signed-off-by: Peter Maydell --- The significant change is s/~/!/, the rest is fixing stuff that would otherwise make checkpa