Re: [Qemu-devel] [PATCH] etrax: Fix wrong conditional statement

2011-10-03 Thread Edgar E. Iglesias
On Fri, Sep 30, 2011 at 11:46:09PM +0200, Stefan Weil wrote: > cppcheck reports an error: the conditional statement is always true. > > I assume that the register should be masked with 3, > but could not test the code. > > Please test before applying this patch. Thanks Stefan, I tested & commit

[Qemu-devel] [PATCH] etrax: Fix wrong conditional statement

2011-09-30 Thread Stefan Weil
cppcheck reports an error: the conditional statement is always true. I assume that the register should be masked with 3, but could not test the code. Please test before applying this patch. Cc: Edgar E. Iglesias Signed-off-by: Stefan Weil --- hw/etraxfs_dma.c |4 ++-- 1 files changed, 2 i