From: Rusty Russell <rusty@rustcorp.com.au>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, gregkh@suse.de
Subject: Re: mmotm 2008-11-29-01-53 uploaded
Date: Mon, 1 Dec 2008 15:07:33 +1030 [thread overview]
Message-ID: <200812011507.33677.rusty@rustcorp.com.au> (raw)
In-Reply-To: <20081201111040.42b2a908.kamezawa.hiroyu@jp.fujitsu.com>
On Monday 01 December 2008 12:40:40 KAMEZAWA Hiroyuki wrote:
> On Sat, 29 Nov 2008 01:59:56 -0800
>
> akpm@linux-foundation.org wrote:
> > The mm-of-the-moment snapshot 2008-11-29-01-53 has been uploaded to
> >
> > http://userweb.kernel.org/~akpm/mmotm/
> >
> > It contains the following patches against 2.6.28-rc6:
>
> Hi, in recent changes of linux-next.patch
Yep, it was mine. Latest linux-next should have the fix (sfr berated me for
this bug earlier), which is below:
core_param: call these really, really early - fix
USB sets prefix to "", so there's no dot. We should really be using
core_param for this.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
kernel/params.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kernel/params.c b/kernel/params.c
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -634,7 +634,9 @@ static void __init param_sysfs_builtin(v
continue;
dot = strchr(kp->name, '.');
- BUG_ON(!dot);
+ /* FIXME: USB code sets prefix to "". Should use core_param */
+ if (!dot)
+ continue;
name_len = dot - kp->name + 1;
strlcpy(modname, kp->name, name_len);
kernel_add_sysfs_param(modname, kp, name_len);
next prev parent reply other threads:[~2008-12-01 4:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200811290959.mAT9xuhC004277@imap1.linux-foundation.org>
2008-12-01 2:10 ` mmotm 2008-11-29-01-53 uploaded KAMEZAWA Hiroyuki
2008-12-01 3:11 ` Andrew Morton
2008-12-01 3:32 ` Stephen Rothwell
2008-12-01 4:37 ` Rusty Russell [this message]
2008-12-01 4:48 ` Stephen Rothwell
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=200812011507.33677.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=akpm@linux-foundation.org \
--cc=gregkh@suse.de \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox