Thread (5 messages) 5 messages, 3 authors, 2005-02-17

Re: [PATCH 2/7] fbdev: Make fb_find_mode() return failure if modular

From: David Vrabel <hidden>
Date: 2005-02-17 14:29:54

Antonino A. Daplas wrote:
A few drivers call fb_find_mode() even if compiled as a module.  If the
modedb parameter is NULL, the function will use default modedb array which
is marked __init. This will cause a crash.  To avoid this, check if the
driver is compiled as a module, and if it is, fail.
Why limit the default mode DB to built-in drivers only?

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help