Re: Section mismatch warnings

From: Roman Zippel
Date: Mon Jun 26 2006 - 08:36:10 EST


Hi,

On Fri, 23 Jun 2006, Al Viro wrote:

> On Sat, Jun 24, 2006 at 12:12:18AM +0200, Sam Ravnborg wrote:
> > All the .smp_locks related warnings are gone when I get the kbuild.git
> > tree pushed linus wise. Needs to spend only an hour or so before it is
> > ready and will do so during the weekend.
>
> Another fun toy that might be interesting there:
>
> >From nobody Mon Sep 17 00:00:00 2001
> From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Date: Fri, 26 May 2006 08:35:22 -0400
> Subject: [PATCH] add make listconfig (show all kconfig symbols seen by parser)

I don't mind the functionality, but what I'd like to avoid is adding lots
of little config targets, so what I'd like to add is something more like
'make queryconfig', which maybe even could be extended to some simple
scripting functionality.

> +static void list_symbols(struct menu *m)
> +{
> + for (m = m->list; m; m = m->next) {
> + struct symbol *s = m->sym;
> + if (s && !sym_is_choice(s)) {

for_all_symbols() would be simpler and avoids possible duplicate menu
entries and I think it's better to just test for s->name.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/