diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2008-07-24 06:29:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:26 +0200 |
commit | 3c232147a7d5b0418b0a0bae0e5b9a62fb81f4f2 (patch) | |
tree | a6f909e41a2c9cc777822f96c984884cd6a07614 /scripts/checkpatch.pl | |
parent | checkpatch: usb_free_urb() can take NULL (diff) | |
download | linux-3c232147a7d5b0418b0a0bae0e5b9a62fb81f4f2.tar.xz linux-3c232147a7d5b0418b0a0bae0e5b9a62fb81f4f2.zip |
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 '')
-rwxr-xr-x | scripts/checkpatch.pl | 2 |
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 { if ($prevline =~ /\bif\s*\(([^\)]*)\)/) { my $expr = $1; if ($line =~ /\bkfree\(\Q$expr\E\);/) { - WARN("kfree(NULL) is safe this check is probabally not required\n" . $hereprev); + WARN("kfree(NULL) is safe this check is probably not required\n" . $hereprev); } } # check for needless usb_free_urb() checks |