IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)

IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)

Post by John Cherr » Wed, 31 Dec 2003 20:20:07


drivers/net/sk98lin/skaddr.c:1092: warning: `ReturnCode' might be used uninitialized in this function
drivers/net/sk98lin/skaddr.c:1624: warning: `ReturnCode' might be used uninitialized in this function
drivers/net/wan/cycx_drv.c:430: warning: unsigned int format, long unsigned int arg (arg 3)
drivers/usb/media/pwc-if.c:1124: warning: control reaches end of non-void function
drivers/usb/media/pwc-if.c:1855: warning: assignment from incompatible pointer type
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/
 
 
 

IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)

Post by sebek6 » Fri, 02 Jan 2004 07:10:08


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: XXXX@XXXXX.COM 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 XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/

 
 
 

IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)

Post by Arnaldo Ca » Fri, 02 Jan 2004 07:20:08

Em Wed, Dec 31, 2003 at 10:57:28PM +0100, Marcel Sebek escreveu:


Thanks, but 2.6.1-rc1 has this patch sent by Alan some weeks ago
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/