diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-06-06 11:15:04 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-11 18:00:29 -0400 |
commit | cf5842de75e9fb8044ff5ca73050e361daa6aae4 (patch) | |
tree | f4f9f8259622be3eb7e90185bbd8d9e4581e27cb /Kbuild | |
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions