The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, rusty@rustcorp.com.au, gregkh@suse.de
Subject: Re: mmotm 2008-11-29-01-53 uploaded
Date: Sun, 30 Nov 2008 19:11:24 -0800	[thread overview]
Message-ID: <20081130191124.e16de170.akpm@linux-foundation.org> (raw)
In-Reply-To: <20081201111040.42b2a908.kamezawa.hiroyu@jp.fujitsu.com>

On Mon, 1 Dec 2008 11:10:40 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> 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
> 
> ==
> static void __init param_sysfs_builtin(void)
> {
>         struct kernel_param *kp;
>         unsigned int name_len;
>         char modname[MODULE_NAME_LEN];
> 
>         for (kp = __start___param; kp < __stop___param; kp++) {
>                 char *dot;
> 
>                 if (kp->perm == 0)
>                         continue;
> 
>                 dot = strchr(kp->name, '.');
>                 BUG_ON(!dot); <======================================(*)
>                 name_len = dot - kp->name + 1;
>                 strlcpy(modname, kp->name, name_len);
>                 kernel_add_sysfs_param(modname, kp, name_len);
>         }
> 
> ==
> Above (*) is added.
> 
> I hit BUG_ON() at (*). That was because usbcore was not a module and module param
> kp->name was "nousb".... not including any dot.
> (If compled as module, the kernel works well.)
> 

Thanks, that'll be

commit 9b473de87209fa86eb421b23386693b461612f30
Author: Rusty Russell <rusty@rustcorp.com.au>
Date:   Wed Oct 22 10:00:22 2008 -0500

    param: Fix duplicate module prefixes

I assume.  Rusty's been on the schnapps again ;)

  reply	other threads:[~2008-12-01  3:11 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 [this message]
2008-12-01  3:32     ` Stephen Rothwell
2008-12-01  4:37   ` Rusty Russell
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=20081130191124.e16de170.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=gregkh@suse.de \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /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