mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* IA32 - 3 New warnings (gcc 3.2.2)
@ 2003-09-22  6:15 John Cherry
  2003-09-22  6:31 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: John Cherry @ 2003-09-22  6:15 UTC (permalink / raw)
  To: linux-kernel

drivers/net/wan/wanxl.c:34: warning: `version' defined but not used
fs/smbfs/proc.c:216: warning: initialization from incompatible pointer type
fs/smbfs/proc.c:217: warning: initialization from incompatible pointer type

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

* Re: IA32 - 3 New warnings (gcc 3.2.2)
  2003-09-22  6:15 IA32 - 3 New warnings (gcc 3.2.2) John Cherry
@ 2003-09-22  6:31 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2003-09-22  6:31 UTC (permalink / raw)
  To: John Cherry; +Cc: linux-kernel

John Cherry <cherry@osdl.org> wrote:
>
> fs/smbfs/proc.c:216: warning: initialization from incompatible pointer type
>  fs/smbfs/proc.c:217: warning: initialization from incompatible pointer type

doh.

--- 25-power4/fs/smbfs/proc.c~smbfs-nls-fix	2003-09-21 23:29:42.000000000 -0700
+++ 25-power4-akpm/fs/smbfs/proc.c	2003-09-21 23:30:17.000000000 -0700
@@ -212,12 +212,9 @@ static int char2uni(const unsigned char 
 }
 
 static struct nls_table unicode_table = {
-	"unicode",
-	uni2char,
-	char2uni,
-	NULL,		/* not used by smbfs */
-	NULL,
-	NULL,		/* not a module */
+	.charset	= "unicode",
+	.uni2char	= uni2char,
+	.char2uni	= char2uni,
 };
 
 /* ----------------------------------------------------------- */

_


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

end of thread, other threads:[~2003-09-22  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22  6:15 IA32 - 3 New warnings (gcc 3.2.2) John Cherry
2003-09-22  6:31 ` Andrew Morton

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

all inboxes | Powered by JetHome®