[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix typo when using TARGET_FMT_plx and LSI_DEBUG
From: |
Ryan Harper |
Subject: |
[Qemu-devel] [PATCH] Fix typo when using TARGET_FMT_plx and LSI_DEBUG |
Date: |
Thu, 20 Nov 2008 10:10:39 -0600 |
User-agent: |
Mutt/1.5.6+20040907i |
TARGET_FMT_plx includes a % for you. This fixes the following warning when
compiling with LSI_DEBUG enabled.
qemu/hw/lsi53c895a.c: In function `lsi_do_dma':
qemu/hw/lsi53c895a.c:485: warning: int format, different type arg (arg 2)
qemu/hw/lsi53c895a.c:485: warning: too many arguments for format
--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
address@hidden
diffstat output:
lsi53c895a.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
---
TARGET_FMT_plx includes a % for you. This fixes the following warning when
compiling with LSI_DEBUG enabled.
qemu/hw/lsi53c895a.c: In function `lsi_do_dma':
qemu/hw/lsi53c895a.c:485: warning: int format, different type arg (arg 2)
qemu/hw/lsi53c895a.c:485: warning: too many arguments for format
Signed-off-by: Ryan Harper <address@hidden>
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index b372e10..8f8ffd7 100644
--- a/hw/lsi53c895a.c
+++ b/hw/lsi53c895a.c
@@ -482,7 +482,7 @@ static void lsi_do_dma(LSIState *s, int out)
else if (s->sbms)
addr |= ((uint64_t)s->sbms << 32);
- DPRINTF("DMA addr=0x%" TARGET_FMT_plx " len=%d\n", addr, count);
+ DPRINTF("DMA addr=0x" TARGET_FMT_plx " len=%d\n", addr, count);
s->csbc += count;
s->dnad += count;
s->dbc -= count;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Fix typo when using TARGET_FMT_plx and LSI_DEBUG,
Ryan Harper <=