Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ktest: Fix typos in ktest.pl

This patch fixes multipe spelling typo found in ktest.pl.

Link: http://lkml.kernel.org/r/20200309115430.57540-1-standby24x7@gmail.com

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

authored by

Masanari Iida and committed by
Steven Rostedt (VMware)
1091c8fc 4d00fc47

+6 -6
+6 -6
tools/testing/ktest/ktest.pl
··· 1030 1030 } 1031 1031 1032 1032 if (!$skip && $rest !~ /^\s*$/) { 1033 - die "$name: $.: Gargbage found after $type\n$_"; 1033 + die "$name: $.: Garbage found after $type\n$_"; 1034 1034 } 1035 1035 1036 1036 if ($skip && $type eq "TEST_START") { ··· 1063 1063 } 1064 1064 1065 1065 if ($rest !~ /^\s*$/) { 1066 - die "$name: $.: Gargbage found after DEFAULTS\n$_"; 1066 + die "$name: $.: Garbage found after DEFAULTS\n$_"; 1067 1067 } 1068 1068 1069 1069 } elsif (/^\s*INCLUDE\s+(\S+)/) { ··· 1154 1154 # on of these sections that have SKIP defined. 1155 1155 # The save variable can be 1156 1156 # defined multiple times and the new one simply overrides 1157 - # the prevous one. 1157 + # the previous one. 1158 1158 set_variable($lvalue, $rvalue); 1159 1159 1160 1160 } else { ··· 1234 1234 foreach my $option (keys %not_used) { 1235 1235 print "$option\n"; 1236 1236 } 1237 - print "Set IGRNORE_UNUSED = 1 to have ktest ignore unused variables\n"; 1237 + print "Set IGNORE_UNUSED = 1 to have ktest ignore unused variables\n"; 1238 1238 if (!read_yn "Do you want to continue?") { 1239 1239 exit -1; 1240 1240 } ··· 1345 1345 # Check for recursive evaluations. 1346 1346 # 100 deep should be more than enough. 1347 1347 if ($r++ > 100) { 1348 - die "Over 100 evaluations accurred with $option\n" . 1348 + die "Over 100 evaluations occurred with $option\n" . 1349 1349 "Check for recursive variables\n"; 1350 1350 } 1351 1351 $prev = $option; ··· 1461 1461 1462 1462 sub dodie { 1463 1463 1464 - # avoid recusion 1464 + # avoid recursion 1465 1465 return if ($in_die); 1466 1466 $in_die = 1; 1467 1467