commit | 2e1e1605fc60b3fcf1e9382729a92fc305727952 | [log] [tgz] |
---|---|---|
author | Nicolas Palix <npalix@diku.dk> | Tue Aug 24 17:38:56 2010 +0200 |
committer | Michal Marek <mmarek@suse.cz> | Tue Aug 31 11:37:53 2010 +0200 |
tree | dc61f821f1658a58646a35f78cc2334f1db8800e | |
parent | c75b81bffa0a9493a24ae61d0c52f85e4043c183 [diff] |
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>