From: Eric Sesterhenn Date: Mon, 27 Feb 2006 21:34:10 +0000 (-0800) Subject: [PATCH] USB: kzalloc() conversion in drivers/usb/gadget X-Git-Tag: v2.6.17-rc1~1176^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7039f4224d4e40b06308d5c1a97427af1a142459;p=pandora-kernel.git [PATCH] USB: kzalloc() conversion in drivers/usb/gadget this patch converts drivers/usb to kzalloc usage. Compile tested with allyes config. I think there was a bug in drivers/usb/gadget/inode.c because it used sizeof(*data) for the kmalloc() and sizeof(data) for the memset(), since sizeof(data) just returns the size for a pointer. Signed-off-by: Eric Sesterhenn Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed