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 _at_ 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 _at_ vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)Arnaldo Carvalho de Melo
- Prev by Date: Re: [2.6 PATCH/RFC] Firmware loader fixes - take 2 (patch 2/2)
- Next by Date: [PATCH 2.6] ns558.c check_region -> request_region
- Previous by thread: Re: [2.6 PATCH/RFC] Firmware loader fixes - take 2 (patch 2/2)
- Next by thread: Re: IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)
- Indexes:[Main][Thread]