From: Nicolas Palix Date: Tue, 24 Aug 2010 15:38:56 +0000 (+0200) Subject: Coccinelle: Add null/kmerr.cocci X-Git-Tag: v2.6.37-rc1~50^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e1e1605fc60b3fcf1e9382729a92fc305727952;p=pandora-kernel.git 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 Signed-off-by: Julia Lawall Signed-off-by: Michal Marek --- Reading git-diff-tree failed