All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David T. L. Wong" <davidtlwong@gmail.com>
To: v4l-dvb <linux-media@vger.kernel.org>
Subject: gcc 4.3.3 compilation problem
Date: Sat, 24 Oct 2009 23:49:20 +0800	[thread overview]
Message-ID: <4AE32200.6070107@gmail.com> (raw)

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

I encounter a compilation error on gcc 4.3.3 ubuntu 9.04 x86_64.

The compiler complains missing parameter name for first parameter of 
function dib7000p_pid_filter().

attached patch fix the problem.

David

[-- Attachment #2: gcc4.3.3_compilation_fix.patch --]
[-- Type: text/x-patch, Size: 765 bytes --]

changeset:   13157:df47ca1f4db5
user:        David T.L. Wong <davidtlwong@gmail.com>
date:        Sat Oct 24 23:16:11 2009 +0800
summary:     fix gcc-4.3.3 compilation error

diff --git a/linux/drivers/media/dvb/frontends/dib7000p.h b/linux/drivers/media/dvb/frontends/dib7000p.h
--- a/linux/drivers/media/dvb/frontends/dib7000p.h
+++ b/linux/drivers/media/dvb/frontends/dib7000p.h
@@ -97,7 +97,7 @@
 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
 	return -ENODEV;
 }
-static inline int dib7000p_pid_filter(struct dvb_frontend *, u8 id, u16 pid, u8 onoff)
+static inline int dib7000p_pid_filter(struct dvb_frontend *fe, u8 id, u16 pid, u8 onoff)
 {
     printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
     return -ENODEV;


                 reply	other threads:[~2009-10-24 15:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4AE32200.6070107@gmail.com \
    --to=davidtlwong@gmail.com \
    --cc=linux-media@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 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.