kernel-ark/scripts/coccinelle
Fabian Frederick 791dfeb495 scripts/coccinelle/free: add NULL test before freeing functions
Warns or generates patch for NULL check before the following functions:

kfree
usb_free_urb
debugfs_remove
debugfs_remove_recursive

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Gilles Muller <Gilles.Muller@lip6.fr>
Cc: Joe Perches <joe@perches.com>
Cc: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-08-08 15:57:26 -07:00
..
api devres: remove devm_request_and_ioremap() 2014-06-19 20:01:36 -07:00
free scripts/coccinelle/free: add NULL test before freeing functions 2014-08-08 15:57:26 -07:00
iterators Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
locks Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
misc coccicheck: Add unneeded return variable test 2014-06-10 14:36:30 +02:00
null Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
tests Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00