aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/free/ifnullfree.cocci
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 14:23:31 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 15:57:27 -0700
commit45715f33d447ba878a3ca81673514785bb4dfe5a (patch)
tree63107edfaf0a230447655de6772cb60fbd5262fe /scripts/coccinelle/free/ifnullfree.cocci
parentscripts/coccinelle/free: add NULL test before freeing functions (diff)
downloadlinux-dev-45715f33d447ba878a3ca81673514785bb4dfe5a.tar.xz
linux-dev-45715f33d447ba878a3ca81673514785bb4dfe5a.zip
scripts/coccinelle/free/ifnullfree.cocci: add copyright information
All coccinelle scripts have a copyright in the header. Signed-off-by: Fabian Frederick <fabf@skynet.be> Suggested-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--scripts/coccinelle/free/ifnullfree.cocci5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/coccinelle/free/ifnullfree.cocci b/scripts/coccinelle/free/ifnullfree.cocci
index 77ab43f30b8d..a42d70bf88b3 100644
--- a/scripts/coccinelle/free/ifnullfree.cocci
+++ b/scripts/coccinelle/free/ifnullfree.cocci
@@ -4,8 +4,9 @@
/// "kfree(NULL) is safe this check is probably not required"
/// and kfreeaddr.cocci by Julia Lawall.
///
-/// Comments: -
-/// Options: --no-includes --include-headers
+// Copyright: (C) 2014 Fabian Frederick. GPLv2.
+// Comments: -
+// Options: --no-includes --include-headers
virtual patch
virtual org