Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c232147 authored by Wolfram Sang's avatar Wolfram Sang Committed by Linus Torvalds
Browse files

checkpatch: correct spelling in kfree checks



Correct spelling in the kfree reports.

Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4c432a8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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