From: Nicolas Palix Date: Sun, 6 Jun 2010 15:15:04 +0000 (+0200) Subject: Add scripts/coccinelle/alloc/kzalloc-simple.cocci X-Git-Tag: v2.6.36-rc1~545^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5842de75e9fb8044ff5ca73050e361daa6aae4;p=pandora-kernel.git Add scripts/coccinelle/alloc/kzalloc-simple.cocci This semantic patch replaces a pair of calls to kmalloc and memset by a single call to kzalloc. It only looks for simple cases to avoid false positives. Signed-off-by: Nicolas Palix Signed-off-by: Julia Lawall Signed-off-by: Michal Marek --- Reading git-diff-tree failed