Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753294AbYJ3ECK (ORCPT ); Thu, 30 Oct 2008 00:02:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750774AbYJ3EB4 (ORCPT ); Thu, 30 Oct 2008 00:01:56 -0400 Received: from mu-out-0910.google.com ([209.85.134.187]:48357 "EHLO mu-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbYJ3EBz (ORCPT ); Thu, 30 Oct 2008 00:01:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=v3HMCR2Hh80A9f4JNfKmPxAZYZqdDbjbscX85ubg2adaUripce7/DFqJwsP4tjd7mr +st91Tm/IHP10y8cGgFen25Tz/Me9qENzQscNksXgkdsazqeLkwXrxQuLLaOOLUH43vk cFfzQc6aFsZtvSO0ZLXTC+BATJJsRJZkZwCkU= Message-ID: Date: Thu, 30 Oct 2008 10:01:53 +0600 From: "Rakib Mullick" To: linux-kernel@vger.kernel.org Subject: Re: [PATCH] resource.c: Fixing section mismatch warning . Cc: "Ingo Molnar" , "Andrew Morton" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1445 Lines: 36 On 10/30/08, Rakib Mullick wrote: > LD kernel/built-in.o > WARNING: kernel/built-in.o(.text+0xfcad): Section mismatch in > reference from the function reserve_region_with_split() to the > function .init.text:__reserve_region_with_split() > The function reserve_region_with_split() references > the function __init __reserve_region_with_split(). > This is often because reserve_region_with_split lacks a __init > annotation or the annotation of __reserve_region_with_split is wrong. > > This patch fixes the above warning. > I'm sorry. This problem has been fixed. I should've check this before sending this patch. Again, sorry. > Thanks. > > Signed-off-by: Md.Rakib H. Mullick > > --- linux-2.6-orig/kernel/resource.c 2008-10-28 20:52:38.000000000 +0600 > +++ linux-2.6/kernel/resource.c 2008-10-28 22:34:44.000000000 +0600 > @@ -571,7 +571,7 @@ static void __init __reserve_region_with > > } > > -void reserve_region_with_split(struct resource *root, > +void __init reserve_region_with_split(struct resource *root, > resource_size_t start, resource_size_t end, > const char *name) > { > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/