summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/deref_null.cocci
diff options
context:
space:
mode:
authorNicolas Palix <npalix@diku.dk>2010-08-24 17:38:56 +0200
committerMichal Marek <mmarek@suse.cz>2010-08-31 11:37:53 +0200
commit2e1e1605fc60b3fcf1e9382729a92fc305727952 (patch)
treedc61f821f1658a58646a35f78cc2334f1db8800e /scripts/coccinelle/deref_null.cocci
parentc75b81bffa0a9493a24ae61d0c52f85e4043c183 (diff)
downloadblackbird-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
OpenPOWER on IntegriCloud