[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45F18FB6.2090701@garzik.org>
Date: Fri, 09 Mar 2007 11:47:50 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Ralf Baechle <ralf@...ux-mips.org>
CC: amitkale@...xen.com, Andrew Morton <akpm@...ux-foundation.org>,
netdev@...r.kernel.org
Subject: Re: [NET] netxen: fix warnings
Ralf Baechle wrote:
> CC [M] drivers/net/netxen/netxen_nic_hw.o
> drivers/net/netxen/netxen_nic_hw.c: In function 'netxen_nic_hw_resources':
> drivers/net/netxen/netxen_nic_hw.c:231: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
> drivers/net/netxen/netxen_nic_hw.c:250: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
>
> u64 is unsigned long so the cast to u64 will result in a warning on the
> printf arguments for 64-bit builds. So cast to unsigned long long instead.
>
> Signed-off-by: Ralf Baechle <ralf@...ux-mips.org>
applied
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists