qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north


From: yajin
Subject: Re: [Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north bridge used by fulong mini pc
Date: Mon, 10 May 2010 12:02:49 +0800

> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_readw':

I think TARGET_FMT_plx should be used instead of using %llx to avoid
this warning.


yajin

http://vm-kernel.org

2010/5/9 Stefan Weil <address@hidden>:
> Am 09.05.2010 04:00, schrieb chen huacai:
>>
>> This patch add initial support of bonito north bridge used by fulong mini
>> pc
>>
>> Signed-off-by: Huacai Chen<address@hidden>
>>
>
> ...
>>
>> +
>> +} BonitoState;
>> +
>> +BonitoState * bonito_state;
>>
>
> Add static attribute?
>
> With DEBUG enabled, I get a lot of compiler warnings:
>
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_writeb':
> /home/stefan/src/qemu/hw/bonito.c:232: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_writew':
> /home/stefan/src/qemu/hw/bonito.c:239: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_writel':
> /home/stefan/src/qemu/hw/bonito.c:252: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_readb':
> /home/stefan/src/qemu/hw/bonito.c:313: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_readw':
> /home/stefan/src/qemu/hw/bonito.c:321: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_readl':
> /home/stefan/src/qemu/hw/bonito.c:334: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_writeb':
> /home/stefan/src/qemu/hw/bonito.c:364: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_writew':
> /home/stefan/src/qemu/hw/bonito.c:371: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_writel':
> /home/stefan/src/qemu/hw/bonito.c:384: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_readb':
> /home/stefan/src/qemu/hw/bonito.c:393: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_readw':
> /home/stefan/src/qemu/hw/bonito.c:400: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_pciconf_readl':
> /home/stefan/src/qemu/hw/bonito.c:414: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_readb':
> /home/stefan/src/qemu/hw/bonito.c:441: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_readw':
> /home/stefan/src/qemu/hw/bonito.c:451: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_readl':
> /home/stefan/src/qemu/hw/bonito.c:465: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_writeb':
> /home/stefan/src/qemu/hw/bonito.c:478: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_writew':
> /home/stefan/src/qemu/hw/bonito.c:487: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_localio_writel':
> /home/stefan/src/qemu/hw/bonito.c:499: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_writeb':
> /home/stefan/src/qemu/hw/bonito.c:621: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_writew':
> /home/stefan/src/qemu/hw/bonito.c:639: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_writel':
> /home/stefan/src/qemu/hw/bonito.c:659: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_readb':
> /home/stefan/src/qemu/hw/bonito.c:677: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_readw':
> /home/stefan/src/qemu/hw/bonito.c:693: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
> /home/stefan/src/qemu/hw/bonito.c: In function 'bonito_spciconf_readl':
> /home/stefan/src/qemu/hw/bonito.c:711: error: format '%llx' expects type
> 'long long unsigned int', but argument 2 has type 'target_phys_addr_t'
>
>
>
>




reply via email to

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