|
@@ -2075,7 +2075,7 @@ sub process {
|
|
if ($prevline =~ /\bif\s*\(([^\)]*)\)/) {
|
|
if ($prevline =~ /\bif\s*\(([^\)]*)\)/) {
|
|
my $expr = $1;
|
|
my $expr = $1;
|
|
if ($line =~ /\bkfree\(\Q$expr\E\);/) {
|
|
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
|
|
# check for needless usb_free_urb() checks
|