mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)
@ 2003-12-30 11:08 John Cherry
  2003-12-31 21:57 ` Marcel Sebek
  0 siblings, 1 reply; 3+ messages in thread
From: John Cherry @ 2003-12-30 11:08 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)
  2003-12-30 11:08 IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2) John Cherry
@ 2003-12-31 21:57 ` Marcel Sebek
  2003-12-31 22:19   ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Sebek @ 2003-12-31 21:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: acme

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2)
  2003-12-31 21:57 ` Marcel Sebek
@ 2003-12-31 22:19   ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-12-31 22:19 UTC (permalink / raw)
  To: linux-kernel

Em Wed, Dec 31, 2003 at 10:57:28PM +0100, Marcel Sebek escreveu:
> 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)

Thanks, but 2.6.1-rc1 has this patch sent by Alan some weeks ago

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-31 22:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 11:08 IA32 (2.6.0 - 2003-12-29.22.30) - 5 New warnings (gcc 3.2.2) John Cherry
2003-12-31 21:57 ` Marcel Sebek
2003-12-31 22:19   ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome