mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
cf5842de75
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> |
||
---|---|---|
.. | ||
drop_kmalloc_cast.cocci | ||
kzalloc-simple.cocci |