summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/null/kmerr.cocci
Commit message (Collapse)AuthorAgeFilesLines
* Coccinelle: Add null/kmerr.cocciNicolas Palix2010-08-311-0/+72
This semantic patch looks for kmalloc etc that are not followed by a NULL check. It only gives a report in the case where there is some error handling code later in the function, which may be helpful in determining what the error handling code for the call to kmalloc etc should be. Signed-off-by: Nicolas Palix <npalix@diku.dk> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz>
OpenPOWER on IntegriCloud