From: Thomas Meyer Date: Sat, 6 Aug 2011 11:26:13 +0000 (+0200) Subject: ARM: davinci: edma: use kzalloc() X-Git-Tag: v3.2-rc1~98^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902532dbe8e64c023567eab8e9e709b0db028e0c;p=pandora-kernel.git ARM: davinci: edma: use kzalloc() 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 output is available in scripts/coccinelle/api/alloc/kzalloc-simple.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Thomas Meyer Signed-off-by: Sekhar Nori --- Reading git-diff-tree failed