aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
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