Thread (2 messages) 2 messages, 2 authors, 2006-04-17

Re: [PATCH] pm2fb section mismatches

From: Jim Hague <hidden>
Date: 2006-04-17 21:26:36

On Saturday 15 April 2006 05:49, Randy.Dunlap wrote:
modpost warns:

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

These are due to pm2fb_set_par() referencing <lowhsync> and
<lowvsync>, which are __devinitdata.  Question is:  can
pm2fb_set_par() [or any fb_set_par method] be called after
driver initializtion?  I.e., do all of those calls in
console/fbcon.c to fbops->fb_set_par() happen only during
driver init, or can they happen later?
Just to confirm - I know calls to fb_set_par() happen after driver 
init. 'lowhsync' and 'lowvsync' shouldn't be __devinitdata; it was ignorance 
on my part that allowed another patch to make them so. Tony, please apply 
Randy's patch.
-- 
Jim Hague - jim.hague@acm.org          Never trust a computer you can't lift.


-------------------------------------------------------
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help