Re: [PATCH] autodetect_raid: add missing __init marking

From: Mike Frysinger
Date: Sat Dec 27 2008 - 01:40:53 EST


On Thu, Nov 20, 2008 at 23:05, Mike Frysinger wrote:
> The function autodetect_raid is only used by __init functions, and it refers
> to __initdata, so it needs __init markings. Fixes this error:
> The function autodetect_raid() references
> the variable __initdata raid_noautodetect.
> This is often because autodetect_raid lacks a __initdata
> annotation or the annotation of raid_noautodetect is wrong.

Andrew: could you add this ?
-mike
--
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/