Re: linux-next: build warning after merge of the final tree (blocktree related)

From: Jens Axboe
Date: Thu Sep 16 2010 - 02:33:53 EST


On 2010-09-16 07:01, Stephen Rothwell wrote:
> Hi Jens,
>
> After merging the final tree, today's linux-next build (powerpc
> allnoconfig with CONFIG_DEBUG_SECTION_MISMATCH=y) produced this warning:
>
> WARNING: init/mounts.o(.text+0x21a): Section mismatch in reference from the function name_to_dev_t() to the function .init.text:match_dev_by_uuid()
> The function name_to_dev_t() references
> the function __init match_dev_by_uuid().
> This is often because name_to_dev_t lacks a __init
> annotation or the annotation of match_dev_by_uuid is wrong.
>
> Introduced by commit b5af921ec02333e943efb59aca4f56b78fc0e100 ("init: add
> support for root devices specified by partition UUID").

match_dev_by_uuid() should not be __init, I'll fix that up.

--
Jens Axboe

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