diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-08-24 17:38:56 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-31 11:37:53 +0200 |
commit | 2e1e1605fc60b3fcf1e9382729a92fc305727952 (patch) | |
tree | dc61f821f1658a58646a35f78cc2334f1db8800e /scripts/coccinelle/deref_null.cocci | |
parent | c75b81bffa0a9493a24ae61d0c52f85e4043c183 (diff) | |
download | blackbird-op-linux-2e1e1605fc60b3fcf1e9382729a92fc305727952.tar.gz blackbird-op-linux-2e1e1605fc60b3fcf1e9382729a92fc305727952.zip |
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>
Diffstat (limited to 'scripts/coccinelle/deref_null.cocci')
0 files changed, 0 insertions, 0 deletions