From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753719Ab0C2PWR (ORCPT ); Mon, 29 Mar 2010 11:22:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31903 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753673Ab0C2PWN (ORCPT ); Mon, 29 Mar 2010 11:22:13 -0400 Message-ID: <4BB0C568.1070803@redhat.com> Date: Mon, 29 Mar 2010 11:21:12 -0400 From: Peter Jones User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc14 Thunderbird/3.0.3 MIME-Version: 1.0 To: Henrik Kretzschmar CC: linux-fbdev@vger.kernel.org, Andrew Morton , Alex Zhavnerchik , Huang Ying , Arnaud Patard , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] fbdev: section cleanup in efifb References: <1269671353-22041-1-git-send-email-henne@nachtwindheim.de> In-Reply-To: <1269671353-22041-1-git-send-email-henne@nachtwindheim.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/27/2010 02:29 AM, Henrik Kretzschmar wrote: > This patch fixes the sections on the efifb driver. > > WARNING: drivers/video/built-in.o(.devinit.text+0x19f8c): Section mismatch in re > ference from the function efifb_probe() to the (unknown reference) .init.data:(u > nknown) > The function __devinit efifb_probe() references > a (unknown reference) __initdata (unknown). > If (unknown) is only used by efifb_probe then > annotate (unknown) with a matching annotation. > > WARNING: drivers/video/built-in.o(.devinit.text+0x19f9a): Section mismatch in reference from the function efifb_probe() to the (unknown reference) .init.data:(unknown) > The function __devinit efifb_probe() references > a (unknown reference) __initdata (unknown). > If (unknown) is only used by efifb_probe then > annotate (unknown) with a matching annotation. > > WARNING: drivers/video/built-in.o(.devinit.text+0x19fa1): Section mismatch in reference from the function efifb_probe() to the variable .init.data:efifb_fix > The function __devinit efifb_probe() references > a variable __initdata efifb_fix. > If efifb_fix is only used by efifb_probe then > annotate efifb_fix with a matching annotation. > > WARNING: drivers/video/built-in.o(.devinit.text+0x19fa7): Section mismatch in reference from the function efifb_probe() to the variable .init.data:efifb_defined > The function __devinit efifb_probe() references > a variable __initdata efifb_defined. > If efifb_defined is only used by efifb_probe then > annotate efifb_defined with a matching annotation. > > Signed-off-by: Henrik Kretzschmar Acked-by: Peter Jones > --- > drivers/video/efifb.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c > index 581d2db..6aea0d3 100644 > --- a/drivers/video/efifb.c > +++ b/drivers/video/efifb.c > @@ -16,7 +16,7 @@ > > #include