lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 27 Mar 2010 07:29:06 +0100 From: Henrik Kretzschmar <henne@...htwindheim.de> To: linux-fbdev@...r.kernel.org Cc: Henrik Kretzschmar <henne@...htwindheim.de>, Peter Jones <pjones@...hat.com>, Andrew Morton <akpm@...ux-foundation.org>, Alex Zhavnerchik <alex.vizor@...il.com>, Huang Ying <ying.huang@...el.com>, Arnaud Patard <arnaud.patard@...-net.org>, linux-kernel@...r.kernel.org Subject: [PATCH 2/7] fbdev: section cleanup in efifb 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 <henne@...htwindheim.de> --- 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 <video/vga.h> -static struct fb_var_screeninfo efifb_defined __initdata = { +static struct fb_var_screeninfo efifb_defined __devinitdata = { .activate = FB_ACTIVATE_NOW, .height = -1, .width = -1, @@ -27,7 +27,7 @@ static struct fb_var_screeninfo efifb_defined __initdata = { .vmode = FB_VMODE_NONINTERLACED, }; -static struct fb_fix_screeninfo efifb_fix __initdata = { +static struct fb_fix_screeninfo efifb_fix __devinitdata = { .id = "EFI VGA", .type = FB_TYPE_PACKED_PIXELS, .accel = FB_ACCEL_NONE, -- 1.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists