Re: drivers/base/core.c broken for non-CONFIG_HOTPLUG

From: Kay Sievers
Date: Fri Jul 20 2007 - 09:30:59 EST


On Fri, 2007-07-20 at 00:59 -0700, Andrew Morton wrote:
> On Fri, 20 Jul 2007 09:01:06 +0200 Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx> wrote:
>
> > You add and use
> >
> > extern const char *kobject_actions[];
>
> Added it in a .c file, too. Even checkpatch.pl knows that
> was wrong.

The kernel is doing that all over the place for global symbols that are
not meant to be used out of a "private" context or where a "private"
header file of a subsystem doesn't exist.

I can change that, if this isn't the way to do it?

Thanks,
Kay

-
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/