Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add scripts/coccinelle/alloc/kzalloc-simple.cocci | Nicolas Palix | 2010-06-11 |
| | | | | | | | | | | | 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> | ||
* | Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocci | Nicolas Palix | 2010-06-11 |
The purpose of this semantic patch is to remove useless casts, as mentioned in the Linux documentation. See Chapter 14 in Documentation/CodingStyle for more information. Signed-off-by: Nicolas Palix <npalix@diku.dk> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz> |