From: Paul Mundt <lethal@linux-sh.org>
To: "Robert P. J. Day" <rpjday@mindspring.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: what is the value of the macro "__setup_param"?
Date: Fri, 24 Aug 2007 19:02:17 +0900 [thread overview]
Message-ID: <20070824100217.GA32109@linux-sh.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0708240548220.15507@localhost.localdomain>
On Fri, Aug 24, 2007 at 05:49:42AM -0400, Robert P. J. Day wrote:
> On Fri, 24 Aug 2007, Paul Mundt wrote:
>
> > On Fri, Aug 24, 2007 at 05:19:29AM -0400, Robert P. J. Day wrote:
> > >
> > > perhaps i'm missing it, but it seems that the macro __setup_param is
> > > entirely superfluous:
> > >
> > > $ grep -rw __setup_param *
> > > include/linux/init.h:#define __setup_param(str, unique_id, fn, early) \
> > > include/linux/init.h: __setup_param(str, unique_id, NULL, 0)
> > > include/linux/init.h: __setup_param(str, fn, fn, 0)
> > > include/linux/init.h: __setup_param(str, fn, fn, 1)
> > > include/linux/init.h:#define __setup_param(str, unique_id, fn) /* nothing */
> > > $
> > >
> > > or am i must misreading something badly?
>
> > Superfluous how? It does different things depending on whether
> > MODULE is defined or not. It's a good indicator of how often people
> > use __setup_param() from module context though, given the complete
> > mismatch of parameters. It's probably worth fixing that up at least.
>
> never mind, i've already clued in. up too long, and trying to do too
> many things at once. more sleep or more coffee -- time to make a
> decision. sorry for the noise.
>
That's great, but you've ignored the second part of my mail. I'll
summarize:
> > > include/linux/init.h:#define __setup_param(str, unique_id, fn, early) \
> > > include/linux/init.h:#define __setup_param(str, unique_id, fn) /* nothing */
Notice the problem now? :-)
next prev parent reply other threads:[~2007-08-24 10:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-24 9:19 what is the value of the macro "__setup_param"? Robert P. J. Day
2007-08-24 9:37 ` Adrian Bunk
2007-08-24 9:32 ` Robert P. J. Day
2007-08-24 9:50 ` Paul Mundt
2007-08-24 9:49 ` Robert P. J. Day
2007-08-24 10:02 ` Paul Mundt [this message]
2007-08-24 10:01 ` Robert P. J. Day
2007-08-24 11:29 ` Satyam Sharma
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=20070824100217.GA32109@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rpjday@mindspring.com \
/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