aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2008-07-24 00:29:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 13:47:26 -0400
commit3c232147a7d5b0418b0a0bae0e5b9a62fb81f4f2 (patch)
treea6f909e41a2c9cc777822f96c984884cd6a07614 /scripts
parent4c432a8f0134504814aa8dcce6cc57c89d175604 (diff)
checkpatch: correct spelling in kfree checks
Correct spelling in the kfree reports. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a4e8087a0cae..3961e759a256 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2075,7 +2075,7 @@ sub process {
2075 if ($prevline =~ /\bif\s*\(([^\)]*)\)/) { 2075 if ($prevline =~ /\bif\s*\(([^\)]*)\)/) {
2076 my $expr = $1; 2076 my $expr = $1;
2077 if ($line =~ /\bkfree\(\Q$expr\E\);/) { 2077 if ($line =~ /\bkfree\(\Q$expr\E\);/) {
2078 WARN("kfree(NULL) is safe this check is probabally not required\n" . $hereprev); 2078 WARN("kfree(NULL) is safe this check is probably not required\n" . $hereprev);
2079 } 2079 }
2080 } 2080 }
2081# check for needless usb_free_urb() checks 2081# check for needless usb_free_urb() checks