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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4CB873FB.4@gmail.com>
Date:	Fri, 15 Oct 2010 23:32:11 +0800
From:	Wan ZongShun <mcuos.com@...il.com>
To:	Linux ARM <linux-arm-kernel@...ts.infradead.org>,
	Russell King <linux@....linux.org.uk>,
	linux-kernel@...r.kernel.org, yachen@...oton.com
Subject: [PATCH] arm/nuc900: delete __initdata for nuc900 lcd structures.

Hi Russell,

Delete __initdata for nuc900 lcd structures which can arise
some warning as building stage as following:

"
MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
"

so I make this patch to fix it.

Signed-off-by: Wan ZongShun <mcuos.com@...il.com>
---
  arch/arm/mach-w90x900/dev.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-w90x900/dev.c b/arch/arm/mach-w90x900/dev.c
index 7a1fa6a..5b0c38a 100644
--- a/arch/arm/mach-w90x900/dev.c
+++ b/arch/arm/mach-w90x900/dev.c
@@ -422,7 +422,7 @@ struct platform_device nuc900_device_kpi = {

  /* LCD controller*/

-static struct nuc900fb_display __initdata nuc900_lcd_info[] = {
+static struct nuc900fb_display nuc900_lcd_info[] = {
  	/* Giantplus Technology GPM1040A0 320x240 Color TFT LCD */
  	[0] = {
  		.type		= LCM_DCCS_VA_SRC_RGB565,
@@ -445,7 +445,7 @@ static struct nuc900fb_display __initdata nuc900_lcd_info[] = {
  	},
  };

-static struct nuc900fb_mach_info nuc900_fb_info __initdata = {
+static struct nuc900fb_mach_info nuc900_fb_info = {
  #if defined(CONFIG_GPM1040A0_320X240)
  	.displays		= &nuc900_lcd_info[0],
  #else
-- 
1.6.3.3
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ