lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ