Thread (7 messages) flat view 7 messages, 2 authors, 2002-07-31

Re: Re: 2.5 offb breakage

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2002-07-31 18:06:49

-	info =
-	    kmalloc(sizeof(struct fb_info) + sizeof(struct display) +
-		    sizeof(u32) * 17, GFP_ATOMIC);
+	size = sizeof(struct fb_info) + sizeof(struct display) + sizeof(u32) * 17;
+
+	info = kmalloc(size, GFP_ATOMIC);
Ok, I fixed that in my tree as well, but didn't yet test with
CONFIG_FBCON_ACCEL _and_ that fix. I'll do that now.

Ben.




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help