All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] fbdev-bf54x-lq043fb-use-kzalloc-over-kmalloc-memset.patch removed from -mm tree
@ 2009-06-17 18:40 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2009-06-17 18:40 UTC (permalink / raw)
  To: vapier, krzysztof.h1, mm-commits


The patch titled
     fbdev: bf54x-lq043fb: use kzalloc over kmalloc/memset
has been removed from the -mm tree.  Its filename was
     fbdev-bf54x-lq043fb-use-kzalloc-over-kmalloc-memset.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: fbdev: bf54x-lq043fb: use kzalloc over kmalloc/memset
From: Mike Frysinger <vapier@gentoo.org>

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/video/bf54x-lq043fb.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff -puN drivers/video/bf54x-lq043fb.c~fbdev-bf54x-lq043fb-use-kzalloc-over-kmalloc-memset drivers/video/bf54x-lq043fb.c
--- a/drivers/video/bf54x-lq043fb.c~fbdev-bf54x-lq043fb-use-kzalloc-over-kmalloc-memset
+++ a/drivers/video/bf54x-lq043fb.c
@@ -630,7 +630,7 @@ static int __devinit bfin_bf54x_probe(st
 
 	fbinfo->fbops = &bfin_bf54x_fb_ops;
 
-	fbinfo->pseudo_palette = kmalloc(sizeof(u32) * 16, GFP_KERNEL);
+	fbinfo->pseudo_palette = kzalloc(sizeof(u32) * 16, GFP_KERNEL);
 	if (!fbinfo->pseudo_palette) {
 		printk(KERN_ERR DRIVER_NAME
 		       "Fail to allocate pseudo_palette\n");
@@ -639,8 +639,6 @@ static int __devinit bfin_bf54x_probe(st
 		goto out4;
 	}
 
-	memset(fbinfo->pseudo_palette, 0, sizeof(u32) * 16);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-17 18:40 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:40 [merged] fbdev-bf54x-lq043fb-use-kzalloc-over-kmalloc-memset.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.