Re: sections mismatches: How to mark new false positives?

From: Sam Ravnborg
Date: Tue Jan 29 2008 - 16:56:44 EST


>
> I would suggest the following fix.

Looked a bit closer.
We have more warnings in this area and I see
code where we previously remove the __devinit
annotation.

It looks like we should take all the HOTPLUG only
functions from probe.c and move them elsewhere
(hotplug.c or probe_hotplug.c) and then
only build this file if HOTPLUG is enabled.

This seems like a straightforward solution.
If no-one beats me I will look into that in the weekend.

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