From: Andy Whitcroft <apw@shadowen.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Martin Bligh <mbligh@google.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] xquad_portio fix declaration missmatch
Date: Thu, 2 Feb 2006 00:43:06 +0000 [thread overview]
Message-ID: <20060202004306.GA32466@shadowen.org> (raw)
xquad_portio fix declaration missmatch
It seems that the latest gcc-4.x sees the inconsistancy between the
export of and static declaration of xquad_portio where previous versions
have not. Fix it up.
arch/i386/boot/compressed/misc.c:125: error: static declaration of
'xquad_portio' follows non-static declaration
include/asm/io.h:315: error: previous declaration of 'xquad_portio' was here
Against: 2.6.16-rc1-mm4
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
misc.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -upN reference/arch/i386/boot/compressed/misc.c current/arch/i386/boot/compressed/misc.c
--- reference/arch/i386/boot/compressed/misc.c
+++ current/arch/i386/boot/compressed/misc.c
@@ -122,7 +122,7 @@ static int vidport;
static int lines, cols;
#ifdef CONFIG_X86_NUMAQ
-static void * xquad_portio = NULL;
+void * xquad_portio = NULL;
#endif
#include "../../../../lib/inflate.c"
next reply other threads:[~2006-02-02 0:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 0:43 Andy Whitcroft [this message]
2006-02-02 17:26 ` [PATCH] xquad_portio fix declaration missmatch Alexey Dobriyan
2006-02-02 21:31 ` Andy Whitcroft
2006-02-02 21:59 ` Andy Whitcroft
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=20060202004306.GA32466@shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.