提交 3c232147 编写于 作者: W Wolfram Sang 提交者: Linus Torvalds

checkpatch: correct spelling in kfree checks

Correct spelling in the kfree reports.
Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: NAndy Whitcroft <apw@shadowen.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 4c432a8f
...@@ -2075,7 +2075,7 @@ sub process { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册