From: Andrew Morton <akpm@linux-foundation.org>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-kernel@vger.kernel.org, krzysztof.h1@poczta.fm
Subject: Re: mmotm 2009-02-03-19-43 uploaded (cirrusfb)
Date: Wed, 4 Feb 2009 13:12:58 -0800 [thread overview]
Message-ID: <20090204131258.b9029211.akpm@linux-foundation.org> (raw)
In-Reply-To: <4989D059.9040202@oracle.com>
On Wed, 04 Feb 2009 09:28:57 -0800
Randy Dunlap <randy.dunlap@oracle.com> wrote:
> akpm@linux-foundation.org wrote:
> > The mm-of-the-moment snapshot 2009-02-03-19-43 has been uploaded to
> >
> > http://userweb.kernel.org/~akpm/mmotm/
> >
> > and will soon be available at
> >
> > git://git.zen-sources.org/zen/mmotm.git
> >
> > It contains the following patches against 2.6.29-rc3:
>
> > cirrusfb-convert-printks-to-dev_foo.patch
>
> - DPRINTK("\n");
> + dev_dbg(info->device, "\n");
Actually
dev_dbg(info->device,
"cirrusfb_setup: option '%s'\n", this_opt);
>
> drivers/video/cirrusfb.c:2397: error: 'info' undeclared (first use in this function)
>
>
> Did you build test this??
As a module - that code is inside #ifdef MODULE.
I did the easy fix ;)
--- a/drivers/video/cirrusfb.c~cirrusfb-convert-printks-to-dev_foo-fix-fix2
+++ a/drivers/video/cirrusfb.c
@@ -2384,7 +2384,8 @@ static int __init cirrusfb_init(void)
}
#ifndef MODULE
-static int __init cirrusfb_setup(char *options) {
+static int __init cirrusfb_setup(char *options)
+{
char *this_opt;
if (!options || !*options)
@@ -2394,9 +2395,6 @@ static int __init cirrusfb_setup(char *o
if (!*this_opt)
continue;
- dev_dbg(info->device,
- "cirrusfb_setup: option '%s'\n", this_opt);
-
if (!strcmp(this_opt, "noaccel"))
noaccel = 1;
else if (!strncmp(this_opt, "mode:", 5))
_
prev parent reply other threads:[~2009-02-04 21:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200902040345.n143jAZh010843@imap1.linux-foundation.org>
2009-02-04 17:28 ` Randy Dunlap
2009-02-04 21:12 ` 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=20090204131258.b9029211.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=krzysztof.h1@poczta.fm \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome