mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: John Cherry <cherry@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: IA32 - 3 New warnings (gcc 3.2.2)
Date: Sun, 21 Sep 2003 23:31:08 -0700	[thread overview]
Message-ID: <20030921233108.4b2164f8.akpm@osdl.org> (raw)
In-Reply-To: <200309220615.h8M6Ff5Q031500@cherrypit.pdx.osdl.net>

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,
 };
 
 /* ----------------------------------------------------------- */

_


      reply	other threads:[~2003-09-22  6:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22  6:15 John Cherry
2003-09-22  6:31 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030921233108.4b2164f8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=cherry@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®