History

Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Lucas De Marchi committed 15 years ago

Commit 25985ed1 parent 6aba74f2463 files · +4252 −4252Browse files

Showing the changes to scripts/checkpatch.pl (1 of 2463 files). Show all

Unified · Split

scripts/checkpatch.pl+3−3
@@ -1946,13 +1946,13 @@ sub process { · 1945 unmodified lines
19461946 # printk should use KERN_* levels. Note that follow on printk's on the
19471947 # same line do not need a level, so we use the current block context
19481948 # to try and find and validate the current printk. In summary the current
1949−# printk includes all preceeding printk's which have no newline on the end.
1949+# printk includes all preceding printk's which have no newline on the end.
19501950 # we assume the first bad printk is the one to report.
19511951 if ($line =~ /\bprintk\((?!KERN_)\s*"/) {
19521952 my $ok = 0;
19531953 for (my $ln = $linenr - 1; $ln >= $first_line; $ln--) {
19541954 #print "CHECK<$lines[$ln - 1]\n";
1955− # we have a preceeding printk if it ends
1955+ # we have a preceding printk if it ends
19561956 # with "\n" ignore it, else it is to blame
19571957 if ($lines[$ln - 1] =~ m{\bprintk\(}) {
19581958 if ($rawlines[$ln - 1] !~ m{\\n"}) {
@@ -2044,7 +2044,7 @@ sub process { · 85 unmodified lines
20442044 for (my $n = 0; $n < $#elements; $n += 2) {
20452045 $off += length($elements[$n]);
20462046
2047− # Pick up the preceeding and succeeding characters.
2047+ # Pick up the preceding and succeeding characters.
20482048 my $ca = substr($opline, 0, $off);
20492049 my $cc = '';
20502050 if (length($opline) >= ($off + length($elements[$n + 1]))) {