summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:23:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:27 +0200
commit45715f33d447ba878a3ca81673514785bb4dfe5a (patch)
tree63107edfaf0a230447655de6772cb60fbd5262fe /scripts/coccinelle
parentscripts/coccinelle/free: add NULL test before freeing functions (diff)
downloadlinux-45715f33d447ba878a3ca81673514785bb4dfe5a.tar.xz
linux-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 'scripts/coccinelle')
-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