mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
To: Sean Bruno <sean.bruno@dsl-only.net>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>,
	trivial@rustcorp.com.au
Subject: [PATCH-GIT] Re: PROBLEM 2.6.12-git6  CX88
Date: Fri, 24 Jun 2005 17:22:49 -0300	[thread overview]
Message-ID: <42BC6B99.6060305@brturbo.com.br> (raw)
In-Reply-To: <1119642377.3180.20.camel@home-lap>

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Sean,

	It is an already seen error that occurs only with gcc 4.0. It's
correction was already sent to Andrew Morton to be applied on the -mm
series.
	I'm enclosing a patch for solving it.

Sean Bruno wrote:
> Attempted to compile 2.6.12 with git6 today received the following error
> on the cx88 module:
> drivers/media/video/cx88/cx88-core.c:548: error: static declaration of
> ‘cx88_pci_irqs’ follows non-static declaration
> drivers/media/video/cx88/cx88.h:438: error: previous declaration of
> ‘cx88_pci_irqs’ was here
> Also, here is my gcc version info:
> [root@home-desk linux-2.6.12]# gcc -v
> Using built-in specs.
> Target: x86_64-redhat-linux
> gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
              +++++
		^

Mauro.

[-- Attachment #2: v4l_cx88_pci_irqs.patch --]
[-- Type: text/x-patch, Size: 569 bytes --]

 drivers/media/video/cx88/cx88.h |    1 -
 1 files changed, 1 deletion(-)
--- drivers/media/video/cx88/cx88.h.old	2005-06-24 17:13:51.000000000 -0300
+++ drivers/media/video/cx88/cx88.h	2005-06-24 17:14:05.000000000 -0300
@@ -435,7 +435,6 @@ struct cx8802_dev {
 /* ----------------------------------------------------------- */
 /* cx88-core.c                                                 */
 
-extern char *cx88_pci_irqs[32];
 extern char *cx88_vid_irqs[32];
 extern char *cx88_mpeg_irqs[32];
 extern void cx88_print_irqbits(char *name, char *tag, char **strings,

      reply	other threads:[~2005-06-24 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-24 19:46 Sean Bruno
2005-06-24 20:22 ` Mauro Carvalho Chehab [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=42BC6B99.6060305@brturbo.com.br \
    --to=mchehab@brturbo.com.br \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sean.bruno@dsl-only.net \
    --cc=trivial@rustcorp.com.au \
    /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®