lkml.org 
[lkml]   [2003]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)
From
On Tue, Dec 30, 2003 at 03:08:47AM -0800, John Cherry wrote:
> drivers/net/wan/cycx_drv.c:430: warning: unsigned int format, long unsigned int arg (arg 3)

diff -urN linux-2.6/drivers/net/wan/cycx_drv.c linux-2.6-new/drivers/net/wan/cycx_drv.c
--- linux-2.6/drivers/net/wan/cycx_drv.c 2003-12-31 21:21:25.000000000 +0100
+++ linux-2.6-new/drivers/net/wan/cycx_drv.c 2003-12-31 21:21:56.000000000 +0100
@@ -425,7 +425,7 @@
if (cksum != cfm->checksum) {
printk(KERN_ERR "%s:%s: firmware corrupted!\n",
modname, __FUNCTION__);
- printk(KERN_ERR " cdsize = 0x%x (expected 0x%x)\n",
+ printk(KERN_ERR " cdsize = 0x%x (expected 0x%lx)\n",
len - (int)sizeof(struct cycx_firmware) - 1,
cfm->info.codesize);
printk(KERN_ERR " chksum = 0x%x (expected 0x%x)\n",

--
Marcel Sebek
jabber: sebek@jabber.cz ICQ: 279852819
linux user number: 307850 GPG ID: 5F88735E
GPG FP: 0F01 BAB8 3148 94DB B95D 1FCA 8B63 CA06 5F88 735E

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2011 Jasper Spaans