[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 22e4104] linux-user: fix up oversealous nitpickin
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 22e4104] linux-user: fix up oversealous nitpicking |
Date: |
Fri, 02 Oct 2009 18:05:53 -0000 |
From: Michael S. Tsirkin <address@hidden>
Looks like linux-user code was correct, just unreadable: what it wanted
to do with "-=" was really assign a negative number, not decrement. Fix
up accordingly.
Reported-by: Laurent Desnogues <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>
diff --git a/linux-user/arm/nwfpe/fpa11.c b/linux-user/arm/nwfpe/fpa11.c
index c4461e0..17a6048 100644
--- a/linux-user/arm/nwfpe/fpa11.c
+++ b/linux-user/arm/nwfpe/fpa11.c
@@ -191,7 +191,7 @@ unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa,
CPUARMState* qregs)
if(nRc == 1 && get_float_exception_flags(&fpa11->fp_status))
{
//printf("fef 0x%x\n",float_exception_flags);
- nRc -= get_float_exception_flags(&fpa11->fp_status);
+ nRc = -get_float_exception_flags(&fpa11->fp_status);
}
//printf("returning %d\n",nRc);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 22e4104] linux-user: fix up oversealous nitpicking,
Anthony Liguori <=