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 /mm/hugetlb_cgroup.c | |
parent | 56106da7932074804f9ef70191f126ea15dc3fc4 (diff) | |
download | talos-op-linux-791dfeb49519f18a6efea4619f5678457f1532ff.tar.gz talos-op-linux-791dfeb49519f18a6efea4619f5678457f1532ff.zip |
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 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions