]> err.no Git - linux-2.6/commit
[PATCH] drivers/base/*: use kzalloc instead of kmalloc+memset
authorJiri Slaby <jirislaby@gmail.com>
Tue, 13 Sep 2005 08:25:01 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:27 +0000 (08:22 -0700)
commit4aed0644d684428e811bb6944f032b460a3ab165
tree4b69f949865fec1c42f7d90fb4d459483c38df5f
parent299cc3c166f7a11f6cc3b66aafbaf75c2aa0e0e2
[PATCH] drivers/base/*: use kzalloc instead of kmalloc+memset

Fixes a bunch of memset bugs too.

Signed-off-by: Lion Vollnhals <webmaster@schiggl.de>
Signed-off-by: Jiri Slaby <xslaby@fi.muni.cz>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/attribute_container.c
drivers/base/class.c
drivers/base/firmware_class.c
drivers/base/map.c
drivers/base/platform.c