diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-08 14:23:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 15:57:26 -0700 |
commit | 791dfeb49519f18a6efea4619f5678457f1532ff (patch) | |
tree | d3f6d2e6e526eb6f6d382f5c9980abd8b002ea2c /scripts/dtc | |
parent | 56106da7932074804f9ef70191f126ea15dc3fc4 (diff) | |
download | op-kernel-dev-791dfeb49519f18a6efea4619f5678457f1532ff.zip op-kernel-dev-791dfeb49519f18a6efea4619f5678457f1532ff.tar.gz |
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>
Diffstat (limited to 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions