Thread (13 messages) 13 messages, 3 authors, 2004-02-07

Re: fbdev sysfs support.

From: <hidden>
Date: 2004-02-07 01:32:23
Also in: lkml

On Fri, Feb 06, 2004 at 05:28:41PM -0800, Greg KH wrote:
On Sat, Feb 07, 2004 at 01:23:29AM +0000, James Simmons wrote:
quoted
quoted
This function will not get called until the sysfs node stops being busy,
so it should all work properly.  But only if that fb_info structure was
allocated dynamically, unlike all of the current fb drivers (see my
other comment about this patch.)

So in that case, this will cause us to try to call kfree on a static
structure :(
I plan to move every driver to framebuffer_alloc. 
When?  With this patchset?  Or at a later time?  It all needs to be done
at the same time to prevent easy kernel oopses.
It doesn't, actually - you can move the drivers before touching sysfs with
no breakage at all.  The only reason why entire patchset needs to go at
the same time is that sysfs part is in the wrong place in sequence...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help