commit | cf5842de75e9fb8044ff5ca73050e361daa6aae4 | [log] [tgz] |
---|---|---|
author | Nicolas Palix <npalix@diku.dk> | Sun Jun 06 17:15:04 2010 +0200 |
committer | Michal Marek <mmarek@suse.cz> | Sat Jun 12 00:00:29 2010 +0200 |
tree | f4f9f8259622be3eb7e90185bbd8d9e4581e27cb | |
parent | 51169c801518bf0a250f208362593e7250e7d2c1 [diff] |
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 <npalix@diku.dk> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz>