Home
last modified time | relevance | path

Searched hist:"2 e1e1605fc60b3fcf1e9382729a92fc305727952" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/scripts/coccinelle/null/
H A Dkmerr.cocci2e1e1605fc60b3fcf1e9382729a92fc305727952 Tue Aug 24 10:38:56 CDT 2010 Nicolas Palix <npalix@diku.dk> Coccinelle: Add null/kmerr.cocci

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>