* [merged] offb-use-framebuffer_alloc-to-allocate-fb_info-struct.patch removed from -mm tree
@ 2009-06-17 18:39 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-06-17 18:39 UTC (permalink / raw)
To: krzysztof.h1, benh, davem, geert, mm-commits
The patch titled
offb: use framebuffer_alloc() to allocate fb_info struct
has been removed from the -mm tree. Its filename was
offb-use-framebuffer_alloc-to-allocate-fb_info-struct.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: offb: use framebuffer_alloc() to allocate fb_info struct
From: Krzysztof Helt <krzysztof.h1@wp.pl>
Use the framebuffer_alloc() function to allocate the fb_info structure so
the structure is correctly initialized after allocation.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/video/offb.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff -puN drivers/video/offb.c~offb-use-framebuffer_alloc-to-allocate-fb_info-struct drivers/video/offb.c
--- a/drivers/video/offb.c~offb-use-framebuffer_alloc-to-allocate-fb_info-struct
+++ a/drivers/video/offb.c
@@ -378,7 +378,6 @@ static void __init offb_init_fb(const ch
struct fb_fix_screeninfo *fix;
struct fb_var_screeninfo *var;
struct fb_info *info;
- int size;
if (!request_mem_region(res_start, res_size, "offb"))
return;
@@ -393,15 +392,12 @@ static void __init offb_init_fb(const ch
return;
}
- size = sizeof(struct fb_info) + sizeof(u32) * 16;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-17 18:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 18:39 [merged] offb-use-framebuffer_alloc-to-allocate-fb_info-struct.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.