linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] fix section mismatch in pm2fb.o
@ 2006-04-09 15:58 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2006-04-09 15:58 UTC (permalink / raw)
  To: adaplas; +Cc: linux-fbdev-devel, Darren Jenkins, linux-kernel

From: Darren Jenkins <darrenrjenkins@gmail.com>

There are a couple of Section mismatch problems in drivers/video/pm2fb.o

WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d)
WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82)

They are caused because pm2fb_set_par() uses lowhsync and lowvsync which
are marked __devinitdata.

This patch simply removes the __devinitdata annotations.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- 2.6.16-git20/drivers/video/pm2fb.c.orig	2006-04-03 19:08:51.000000000 +1000
+++ 2.6.16-git20/drivers/video/pm2fb.c	2006-04-03 19:09:34.000000000 +1000
@@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL;
  * these flags allow the user to specify that requests for +ve sync
  * should be silently turned in -ve sync.
  */
-static int lowhsync __devinitdata = 0;
-static int lowvsync __devinitdata = 0;
+static int lowhsync = 0;
+static int lowvsync = 0;
 
 /*
  * The hardware state of the graphics card that isn't part of the

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] fix section mismatch in pm2fb.o
@ 2006-04-18 23:50 Adrian Bunk
  2006-04-19  1:09 ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2006-04-18 23:50 UTC (permalink / raw)
  To: Andrew Morton; +Cc: adaplas, linux-fbdev-devel, Darren Jenkins, linux-kernel

From: Darren Jenkins <darrenrjenkins@gmail.com>

There are a couple of Section mismatch problems in drivers/video/pm2fb.o

WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d)
WARNING: drivers/video/pm2fb.o - Section mismatch: reference
to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82)

They are caused because pm2fb_set_par() uses lowhsync and lowvsync which
are marked __devinitdata.

This patch simply removes the __devinitdata annotations.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 9 Apr 2006

--- 2.6.16-git20/drivers/video/pm2fb.c.orig	2006-04-03 19:08:51.000000000 +1000
+++ 2.6.16-git20/drivers/video/pm2fb.c	2006-04-03 19:09:34.000000000 +1000
@@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL;
  * these flags allow the user to specify that requests for +ve sync
  * should be silently turned in -ve sync.
  */
-static int lowhsync __devinitdata = 0;
-static int lowvsync __devinitdata = 0;
+static int lowhsync = 0;
+static int lowvsync = 0;
 
 /*
  * The hardware state of the graphics card that isn't part of the

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] fix section mismatch in pm2fb.o
  2006-04-18 23:50 Adrian Bunk
@ 2006-04-19  1:09 ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2006-04-19  1:09 UTC (permalink / raw)
  To: linux-fbdev-devel; +Cc: bunk, akpm, adaplas, darrenrjenkins, linux-kernel

On Wed, 19 Apr 2006 01:50:38 +0200 Adrian Bunk wrote:

> From: Darren Jenkins <darrenrjenkins@gmail.com>
> 
> There are a couple of Section mismatch problems in drivers/video/pm2fb.o
> 
> WARNING: drivers/video/pm2fb.o - Section mismatch: reference
> to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd5d)
> WARNING: drivers/video/pm2fb.o - Section mismatch: reference
> to .init.data: from .text after 'pm2fb_set_par' (at offset 0xd82)
> 
> They are caused because pm2fb_set_par() uses lowhsync and lowvsync which
> are marked __devinitdata.
> 
> This patch simply removes the __devinitdata annotations.
> 
> Signed-off-by: Darren Jenkins <darrenrjenkins@gmail.com>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> ---
> 
> This patch was already sent on:
> - 9 Apr 2006
> 
> --- 2.6.16-git20/drivers/video/pm2fb.c.orig	2006-04-03 19:08:51.000000000 +1000
> +++ 2.6.16-git20/drivers/video/pm2fb.c	2006-04-03 19:09:34.000000000 +1000
> @@ -73,8 +73,8 @@ static char *mode __devinitdata = NULL;
>   * these flags allow the user to specify that requests for +ve sync
>   * should be silently turned in -ve sync.
>   */
> -static int lowhsync __devinitdata = 0;
> -static int lowvsync __devinitdata = 0;
> +static int lowhsync = 0;
> +static int lowvsync = 0;
>  
>  /*
>   * The hardware state of the graphics card that isn't part of the

I'll ack that since I've already posted it to linux-fbdev-devel
and it's been acked there.

---
~Randy


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-19  1:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-09 15:58 [2.6 patch] fix section mismatch in pm2fb.o Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2006-04-18 23:50 Adrian Bunk
2006-04-19  1:09 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).