diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-06-06 15:15:04 (GMT) |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-11 22:00:29 (GMT) |
commit | cf5842de75e9fb8044ff5ca73050e361daa6aae4 (patch) | |
tree | f4f9f8259622be3eb7e90185bbd8d9e4581e27cb /firmware/tigon | |
parent | 51169c801518bf0a250f208362593e7250e7d2c1 (diff) | |
download | linux-fsl-qoriq-cf5842de75e9fb8044ff5ca73050e361daa6aae4.tar.xz |
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 'firmware/tigon')
0 files changed, 0 insertions, 0 deletions