qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] dma/rc4030: fix a mixed declarations and code w


From: Hervé Poussineau
Subject: Re: [Qemu-devel] [PATCH] dma/rc4030: fix a mixed declarations and code warning
Date: Tue, 14 Mar 2017 18:55:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Le 14/03/2017 à 18:11, Yongbok Kim a écrit :
Signed-off-by: Yongbok Kim <address@hidden>

Reviewed-by: Hervé Poussineau <address@hidden>

---
 hw/dma/rc4030.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
index 8ad97f1..4dbb4fd 100644
--- a/hw/dma/rc4030.c
+++ b/hw/dma/rc4030.c
@@ -99,8 +99,8 @@ typedef struct rc4030State

 static void set_next_tick(rc4030State *s)
 {
-    qemu_irq_lower(s->timer_irq);
     uint32_t tm_hz;
+    qemu_irq_lower(s->timer_irq);

     tm_hz = 1000 / (s->itr + 1);






reply via email to

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