* Re: mmotm 2009-02-03-19-43 uploaded (cirrusfb)
[not found] <200902040345.n143jAZh010843@imap1.linux-foundation.org>
@ 2009-02-04 17:28 ` Randy Dunlap
2009-02-04 21:12 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2009-02-04 17:28 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Krzysztof Helt
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");
drivers/video/cirrusfb.c:2397: error: 'info' undeclared (first use in this function)
Did you build test this??
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mmotm 2009-02-03-19-43 uploaded (cirrusfb)
2009-02-04 17:28 ` mmotm 2009-02-03-19-43 uploaded (cirrusfb) Randy Dunlap
@ 2009-02-04 21:12 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2009-02-04 21:12 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, krzysztof.h1
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))
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-02-04 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200902040345.n143jAZh010843@imap1.linux-foundation.org>
2009-02-04 17:28 ` mmotm 2009-02-03-19-43 uploaded (cirrusfb) Randy Dunlap
2009-02-04 21:12 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox