* Re: + dynamic-kernel-command-line-sparc64-fix.patch added to -mm tree [not found] <200701271103.l0RB32ES007734@shell0.pdx.osdl.net> @ 2007-01-27 11:14 ` Alon Bar-Lev 2007-01-27 11:29 ` Andrew Morton 0 siblings, 1 reply; 2+ messages in thread From: Alon Bar-Lev @ 2007-01-27 11:14 UTC (permalink / raw) To: akpm; +Cc: mm-commits, davem, kernel list On 1/27/07, akpm@osdl.org <akpm@osdl.org> wrote: > diff -puN drivers/sbus/char/openprom.c~dynamic-kernel-command-line-sparc64-fix drivers/sbus/char/openprom.c > --- a/drivers/sbus/char/openprom.c~dynamic-kernel-command-line-sparc64-fix > +++ a/drivers/sbus/char/openprom.c > @@ -283,7 +283,7 @@ static int oprompath2node(void __user *a > > static int opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize) > { > - char *buf = saved_command_line; > + char *buf = boot_command_line; > int len = strlen(buf); > > if (len > bufsize) Hello Andrew, I don't think this is correct. The boot_command_line should only be used by init code. Drivers should continue to use saved_command_line. I don't know why saved_command_line cannot be resolved and boot_command_line can be. They are both located in linux/init.h extern char __initdata boot_command_line[]; extern char *saved_command_line; And the drivers/sbus/char/openprom.c do include it and I assume __ASSEMBLY__ is not defined. Best Regards, Alon Bar-Lev. ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: + dynamic-kernel-command-line-sparc64-fix.patch added to -mm tree 2007-01-27 11:14 ` + dynamic-kernel-command-line-sparc64-fix.patch added to -mm tree Alon Bar-Lev @ 2007-01-27 11:29 ` Andrew Morton 0 siblings, 0 replies; 2+ messages in thread From: Andrew Morton @ 2007-01-27 11:29 UTC (permalink / raw) To: Alon Bar-Lev; +Cc: davem, kernel list On Sat, 27 Jan 2007 13:14:57 +0200 "Alon Bar-Lev" <alon.barlev@gmail.com> wrote: > I don't know why saved_command_line cannot be resolved and > boot_command_line can be. > They are both located in linux/init.h > > extern char __initdata boot_command_line[]; > extern char *saved_command_line; > > And the drivers/sbus/char/openprom.c do include it and I assume > __ASSEMBLY__ is not defined. hm. It went away. Maybe I dreamed it. y'know, I've been plugging away at this crappile for over twelve hours, have applied 55 distinct compile fixes so far and it's still not there. Tomorrow I get to try to make it all run. That should be amusing. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-27 11:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200701271103.l0RB32ES007734@shell0.pdx.osdl.net>
2007-01-27 11:14 ` + dynamic-kernel-command-line-sparc64-fix.patch added to -mm tree Alon Bar-Lev
2007-01-27 11:29 ` Andrew Morton
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