The conversion here is really trivial: just a bunch of title markups and very few puntual changes is enough to make it to be parsed by Sphinx and generate a nice html. The conversion is actually: - add blank lines and identation in order to identify paragraphs; - fix tables markups; - add some lists markups; - mark literal blocks; - adjust title markups. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings.
Showing the changes to scripts/checkpatch.pl (1 of 14 files). Show all
Unified · Split
| @@ -5712,7 +5712,7 @@ sub process { · 5711 unmodified lines | |||
| 5712 | # ignore udelay's < 10, however | 5712 | # ignore udelay's < 10, however |
| 5713 | if (! ($delay < 10) ) { | 5713 | if (! ($delay < 10) ) { |
| 5714 | CHK("USLEEP_RANGE", | 5714 | CHK("USLEEP_RANGE", |
| 5715 | "usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt\n" . $herecurr); | 5715 | "usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst\n" . $herecurr); |
| 5716 | } | 5716 | } |
| 5717 | if ($delay > 2000) { | 5717 | if ($delay > 2000) { |
| 5718 | WARN("LONG_UDELAY", | 5718 | WARN("LONG_UDELAY", |
| @@ -5724,7 +5724,7 @@ sub process { · 5 unmodified lines | |||
| 5724 | if ($line =~ /\bmsleep\s*\((\d+)\);/) { | 5724 | if ($line =~ /\bmsleep\s*\((\d+)\);/) { |
| 5725 | if ($1 < 20) { | 5725 | if ($1 < 20) { |
| 5726 | WARN("MSLEEP", | 5726 | WARN("MSLEEP", |
| 5727 | "msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt\n" . $herecurr); | 5727 | "msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.rst\n" . $herecurr); |
| 5728 | } | 5728 | } |
| 5729 | } | 5729 | } |
| 5730 | 5730 | ||
| @@ -6115,11 +6115,11 @@ sub process { · 384 unmodified lines | |||
| 6115 | my $max = $7; | 6115 | my $max = $7; |
| 6116 | if ($min eq $max) { | 6116 | if ($min eq $max) { |
| 6117 | WARN("USLEEP_RANGE", | 6117 | WARN("USLEEP_RANGE", |
| 6118 | "usleep_range should not use min == max args; see Documentation/timers/timers-howto.txt\n" . "$here\n$stat\n"); | 6118 | "usleep_range should not use min == max args; see Documentation/timers/timers-howto.rst\n" . "$here\n$stat\n"); |
| 6119 | } elsif ($min =~ /^\d+$/ && $max =~ /^\d+$/ && | 6119 | } elsif ($min =~ /^\d+$/ && $max =~ /^\d+$/ && |
| 6120 | $min > $max) { | 6120 | $min > $max) { |
| 6121 | WARN("USLEEP_RANGE", | 6121 | WARN("USLEEP_RANGE", |
| 6122 | "usleep_range args reversed, use min then max; see Documentation/timers/timers-howto.txt\n" . "$here\n$stat\n"); | 6122 | "usleep_range args reversed, use min then max; see Documentation/timers/timers-howto.rst\n" . "$here\n$stat\n"); |
| 6123 | } | 6123 | } |
| 6124 | } | 6124 | } |
| 6125 | 6125 | ||