diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-06-06 17:15:04 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-12 00:00:29 +0200 |
commit | cf5842de75e9fb8044ff5ca73050e361daa6aae4 (patch) | |
tree | f4f9f8259622be3eb7e90185bbd8d9e4581e27cb /drivers/xen | |
parent | 51169c801518bf0a250f208362593e7250e7d2c1 (diff) | |
download | kernel_samsung_smdk4412-cf5842de75e9fb8044ff5ca73050e361daa6aae4.zip kernel_samsung_smdk4412-cf5842de75e9fb8044ff5ca73050e361daa6aae4.tar.gz kernel_samsung_smdk4412-cf5842de75e9fb8044ff5ca73050e361daa6aae4.tar.bz2 |
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 'drivers/xen')
0 files changed, 0 insertions, 0 deletions