diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-18 08:12:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-24 06:12:35 -0400 |
commit | 8c27ceff3604b249a9efafbd1bd8b141b79e619d (patch) | |
tree | 82e4ab0c2825fa25c3168e648268883c0b23ee30 /scripts/checkpatch.pl | |
parent | 9d85025b0418163fae079c9ba8f8445212de8568 (diff) |
docs: fix locations of several documents that got moved
The previous patch renamed several files that are cross-referenced
along the Kernel documentation. Adjust the links to point to
the right places.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a8368d1c4348..d0c729ccec20 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -2187,7 +2187,7 @@ sub process { | |||
2187 | 2187 | ||
2188 | if ($rawline=~/^\+\+\+\s+(\S+)/) { | 2188 | if ($rawline=~/^\+\+\+\s+(\S+)/) { |
2189 | $setup_docs = 0; | 2189 | $setup_docs = 0; |
2190 | if ($1 =~ m@Documentation/kernel-parameters.txt$@) { | 2190 | if ($1 =~ m@Documentation/admin-guide/kernel-parameters.rst$@) { |
2191 | $setup_docs = 1; | 2191 | $setup_docs = 1; |
2192 | } | 2192 | } |
2193 | #next; | 2193 | #next; |
@@ -5102,7 +5102,7 @@ sub process { | |||
5102 | my $asm_volatile = qr{\b(__asm__|asm)\s+(__volatile__|volatile)\b}; | 5102 | my $asm_volatile = qr{\b(__asm__|asm)\s+(__volatile__|volatile)\b}; |
5103 | if ($line =~ /\bvolatile\b/ && $line !~ /$asm_volatile/) { | 5103 | if ($line =~ /\bvolatile\b/ && $line !~ /$asm_volatile/) { |
5104 | WARN("VOLATILE", | 5104 | WARN("VOLATILE", |
5105 | "Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr); | 5105 | "Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst\n" . $herecurr); |
5106 | } | 5106 | } |
5107 | 5107 | ||
5108 | # Check for user-visible strings broken across lines, which breaks the ability | 5108 | # Check for user-visible strings broken across lines, which breaks the ability |
@@ -5817,7 +5817,7 @@ sub process { | |||
5817 | 5817 | ||
5818 | if (!grep(/$name/, @setup_docs)) { | 5818 | if (!grep(/$name/, @setup_docs)) { |
5819 | CHK("UNDOCUMENTED_SETUP", | 5819 | CHK("UNDOCUMENTED_SETUP", |
5820 | "__setup appears un-documented -- check Documentation/kernel-parameters.txt\n" . $herecurr); | 5820 | "__setup appears un-documented -- check Documentation/admin-guide/kernel-parameters.rst\n" . $herecurr); |
5821 | } | 5821 | } |
5822 | } | 5822 | } |
5823 | 5823 | ||