From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: linux-next: build warning after merge of the final tree (block tree related) Date: Thu, 16 Sep 2010 08:33:47 +0200 Message-ID: <4C91BA4B.5040501@kernel.dk> References: <20100916150101.3ced35b9.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:41906 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752683Ab0IPGds (ORCPT ); Thu, 16 Sep 2010 02:33:48 -0400 In-Reply-To: <20100916150101.3ced35b9.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Will Drewry 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