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

From: Jens Axboe <[email-masked]>
Date: Thu, 16 Sep 2010 08:33:47 +0200

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