From: Thomas Meyer Date: Thu, 10 Nov 2011 18:04:19 +0000 (+0100) Subject: staging: rtl8192e: Use kzalloc rather than kmalloc v2 X-Git-Tag: v3.3-rc1~152^2~101^2~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=929fa2a42e75e0c6ded89c450bd0f668e32190d7;p=pandora-kernel.git staging: rtl8192e: Use kzalloc rather than kmalloc v2 Use kzalloc rather than kmalloc followed by memset with 0 This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule, so all of the matched code has to be contiguous The semantic patch that makes this change is available in scripts/coccinelle/api/alloc/kzalloc-simple.cocci. Signed-off-by: Thomas Meyer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed