public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <npiggin@suse.de>
To: kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] RAMDISK:  Remove long-deprecated "ramdisk=" boot-time param.
Date: Tue, 12 May 2009 05:09:08 +0000	[thread overview]
Message-ID: <20090512050908.GD32535@wotan.suse.de> (raw)
In-Reply-To: <alpine.LFD.2.00.0905061821260.26544@localhost.lan>

On Thu, May 07, 2009 at 04:56:21AM -0400, Robert P. J. Day wrote:
> On Thu, 7 May 2009, walter harms wrote:
> 
> > Robert P. J. Day schrieb:
> > > The "ramdisk" parameter was removed from the defunct rd.c file quite
> > > some time ago, in favour of the more specific "ramdisk_size"
> > > parameter so, for consistency, the same should be done here.
> > >
> > > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> > >
> > > ---
> > >
> > >   the earlier removal was in fac8b209b1084bc85748bd54e13d00c1262b220f.
> > >
> > > diff --git a/drivers/block/brd.c b/drivers/block/brd.c
> > > index 5f7e64b..4bf8705 100644
> > > --- a/drivers/block/brd.c
> > > +++ b/drivers/block/brd.c
> > > @@ -407,12 +407,7 @@ static int __init ramdisk_size(char *str)
> > >  	rd_size = simple_strtol(str, NULL, 0);
> > >  	return 1;
> > >  }
> > > -static int __init ramdisk_size2(char *str)
> > > -{
> > > -	return ramdisk_size(str);
> > > -}
> > > -__setup("ramdisk=", ramdisk_size);
> > > -__setup("ramdisk_size=", ramdisk_size2);
> > > +__setup("ramdisk_size=", ramdisk_size);
> > >  #endif
> > >
> > >  /*
> > >
> >
> >
> > i do not use this parameter but people will be confused if it suddenly vanish.
> > IMHO it would be better to add something like
> >
> > printk(KERN_ERR "'ramdisk=' will be removed with kernel 2.6.35 ....";
> >
> > pleae note there is a clear kernel number what will put pressure on everyone
> > really to remove the parameter.
> >
> > just my two cents,
> >  wh
> 
>   that deprecated parameter was removed entirely in an earlier patch i
> submitted (see above), and everyone signed off on it.  so it seems
> unlikely to cause major problems to remove it a second time after it
> was re-introduced, but i'll leave that decision to others.

OK, the commit to remove that must have gone in concurently to my
rewrite, because I just copied those parameters.

It probably takes all of a couple of bytes, of init text at that.
But since you'd already got that patch in to remove it completely,
and fixed up the documentation...

Acked-by: Nick Piggin <npiggin@suse.de>

Do you care to send it to Linus?


      parent reply	other threads:[~2009-05-12  5:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 22:23 [PATCH] RAMDISK: Remove long-deprecated "ramdisk=" boot-time Robert P. J. Day
2009-05-07  7:16 ` walter harms
2009-05-07  8:56 ` Robert P. J. Day
2009-05-12  5:09 ` Nick Piggin [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=20090512050908.GD32535@wotan.suse.de \
    --to=npiggin@suse.de \
    --cc=kernel-janitors@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