Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Coccinelle: Script to detect cast after memory allocation | Himangi Saraogi | 2014-08-06 | 1 | -67/+0 |
| | | | | | | | | | | | | | This script detects cases of use of cast for the value returned by kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc, kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes the cast as it is not useful. This Coccinelle script replaces drop_kmalloc_cast.cocci as it removes the casting in more limited cases of kmalloc, kzalloc and kcalloc. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.cz> | ||||
* | Coccinelle: Update the options used to the new option scheme | Nicolas Palix | 2013-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | spatch has changed its option scheme. E.g., --no_show_diff is now --no-show-diff This patch updates: - scripts/coccicheck - Semantic patches under scripts/coccinelle/ Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr> Signed-off-by: Michal Marek <mmarek@suse.cz> | ||||
* | Coccinelle: Move alloc directory into api directory | Nicolas Palix | 2010-08-31 | 1 | -0/+67 |
alloc contains various semantic patches related to the allocation APIs Signed-off-by: Nicolas Palix <npalix@diku.dk> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz> |