[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] rtl8139: use TARGET_FMT_plx in debug messag
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] rtl8139: use TARGET_FMT_plx in debug messages |
Date: |
Thu, 21 Apr 2011 12:16:36 +0100 |
On Thu, Apr 21, 2011 at 12:39 AM, Benjamin Poirier
<address@hidden> wrote:
> Prevents a compilation failure when DEBUG_RTL8139 is defined:
>
> CC libhw32/rtl8139.o
> cc1: warnings being treated as errors
> hw/rtl8139.c: In function ‘rtl8139_cplus_transmit_one’:
> hw/rtl8139.c:1960: error: format ‘%8lx’ expects type ‘long unsigned int’, but
> argument 5 has type ‘target_phys_addr_t’
> make[1]: *** [rtl8139.o] Error 1
>
> Signed-off-by: Benjamin Poirier <address@hidden>
> Cc: Igor V. Kovalenko <address@hidden>
> ---
> hw/rtl8139.c | 15 +++++++++------
> 1 files changed, 9 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>