From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OB3FO-0000GE-Di for qemu-devel@nongnu.org; Sun, 09 May 2010 05:56:30 -0400 Received: from [140.186.70.92] (port=45049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OB3FM-0000F8-ID for qemu-devel@nongnu.org; Sun, 09 May 2010 05:56:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OB3FK-000588-4o for qemu-devel@nongnu.org; Sun, 09 May 2010 05:56:28 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:53167) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OB3FJ-00057n-M7 for qemu-devel@nongnu.org; Sun, 09 May 2010 05:56:26 -0400 Message-ID: <4BE686C5.4030302@mail.berlios.de> Date: Sun, 09 May 2010 11:56:21 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north bridge used by fulong mini pc References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chen huacai Cc: qemu-devel@nongnu.org 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 > ... > + > +} 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'