Fix some doc build warnings/errors and broken links
Subsystems (59)
v2 cover Fix some doc build warnings/errors and broken links
Hi Jon,
Patches 1 to 5 on this series contain the patches that weren't yet applied from the past patch series and touch only at Documentation. There are two changes there:
patch 2: fixed the description and added a c/c to cgroup maintainers; patch 4: rewritten according with Louis request, droping several hunks.
Patch 6 rewrites scripts/documentation-file-ref-check on Perl, adding an auto-fix feature.
Before doing that, I made a shell script version, but there are several false positives there that would require some regex parsing to get rid. Also, performance was problematic: even on an i7core with SSD M.2 disk, it was taking more than a minute just to identify the errors. The perl version makes it in less than a second and gives more reliable results.
It should be noticed that, as any other auto-fix tool, the resuls of the fix should be validated.
The next 5 patches contain several fixes based on its results.
Patches 7 and 8 fix things that would cause troubles for the automatic autocorrection tool.
Patch 9 touches a lot of random places (including MAINTAINERS) that contain broken links and can be auto-fixed. It could be broken into one patch per touched file, but I think that is overkill.
Patch 10 fixes the removal of nmi_watchdog.txt.
Patch 11 do some manual fixes on most of the places where the automatic fix tool found multiple hints.
Ah, I noticed also several broken links on media. Those were fixed on 3 separate patches, submitted to linux-media. I intend to apply them via my own tree.
Regards,
Mauro
Mauro Carvalho Chehab (11):
docs: can.rst: fix a footnote reference
docs: admin-guide: add cgroup-v2 documentation
docs: crypto_engine.rst: Fix two parse warnings
docs: dell_rbu.txt: fix location of request_firmware
docs: uio-howto.rst: use a code block to solve a warning scripts/documentation-file-ref-check: rewrite it in perl with auto-fix
mode
docs: ranoops.rst: fix location of ramoops.txt
docs: refcount-vs-atomic.rst: prefix url with https
docs: Fix some broken references
arch/*: Kconfig: fix documentation for NMI watchdog
docs: fix broken references with multiple hints
Documentation/00-INDEX | 2 -
Documentation/ABI/obsolete/sysfs-gpio | 2 +-
.../cgroup-v2.rst} | 0
Documentation/admin-guide/index.rst | 1 +
.../admin-guide/kernel-parameters.txt | 4 +-
Documentation/admin-guide/ramoops.rst | 2 +-
Documentation/core-api/refcount-vs-atomic.rst | 2 +-
Documentation/crypto/crypto_engine.rst | 8 +-
Documentation/dell_rbu.txt | 4 +-
.../bindings/display/bridge/tda998x.txt | 2 +-
.../bindings/input/rotary-encoder.txt | 2 +-
Documentation/driver-api/gpio/consumer.rst | 2 +-
Documentation/driver-api/uio-howto.rst | 3 +-
Documentation/kprobes.txt | 4 +-
Documentation/networking/can.rst | 4 +-
Documentation/trace/coresight.txt | 2 +-
Documentation/trace/events.rst | 4 +-
Documentation/trace/ftrace-uses.rst | 2 +-
Documentation/trace/histogram.txt | 2 +-
Documentation/trace/intel_th.rst | 2 +-
Documentation/trace/tracepoint-analysis.rst | 8 +-
Documentation/translations/ja_JP/howto.rst | 4 +-
.../translations/zh_CN/SubmittingDrivers | 2 +-
Documentation/translations/zh_CN/gpio.txt | 4 +-
.../translations/zh_CN/magic-number.txt | 4 +-
.../zh_CN/video4linux/omap3isp.txt | 4 +-
MAINTAINERS | 22 +--
arch/Kconfig | 2 +-
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/cacheflush.h | 2 +-
arch/arm64/include/asm/cacheflush.h | 2 +-
arch/microblaze/include/asm/cacheflush.h | 2 +-
arch/parisc/Kconfig | 2 +-
arch/sh/Kconfig | 2 +-
arch/sparc/Kconfig | 2 +-
arch/um/Kconfig.um | 2 +-
arch/unicore32/include/asm/cacheflush.h | 2 +-
arch/x86/entry/vsyscall/vsyscall_64.c | 2 +-
arch/xtensa/include/asm/cacheflush.h | 4 +-
block/Kconfig | 2 +-
certs/Kconfig | 2 +-
crypto/asymmetric_keys/asymmetric_type.c | 2 +-
crypto/asymmetric_keys/signature.c | 2 +-
drivers/char/Kconfig | 2 +-
drivers/clk/clk.c | 4 +-
drivers/clk/ingenic/cgu.h | 2 +-
drivers/gpu/vga/Kconfig | 2 +-
drivers/gpu/vga/vgaarb.c | 2 +-
drivers/hid/usbhid/Kconfig | 2 +-
drivers/input/Kconfig | 4 +-
drivers/input/joystick/Kconfig | 14 +-
drivers/input/joystick/iforce/Kconfig | 4 +-
drivers/input/joystick/walkera0701.c | 2 +-
drivers/input/misc/Kconfig | 4 +-
drivers/input/misc/rotary_encoder.c | 2 +-
drivers/input/mouse/Kconfig | 6 +-
drivers/input/mouse/alps.c | 2 +-
drivers/input/serio/Kconfig | 4 +-
drivers/input/touchscreen/wm97xx-core.c | 2 +-
drivers/lightnvm/pblk-rb.c | 2 +-
drivers/md/bcache/Kconfig | 2 +-
drivers/md/bcache/btree.c | 2 +-
drivers/md/bcache/extents.c | 2 +-
drivers/media/dvb-core/dvb_ringbuffer.c | 2 +-
drivers/media/pci/meye/Kconfig | 2 +-
drivers/media/platform/pxa_camera.c | 4 +-
.../soc_camera/sh_mobile_ceu_camera.c | 2 +-
drivers/media/radio/Kconfig | 2 +-
drivers/media/radio/si470x/Kconfig | 2 +-
drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +-
drivers/media/usb/zr364xx/Kconfig | 2 +-
drivers/parport/Kconfig | 6 +-
.../staging/fsl-mc/bus/dpio/dpio-driver.txt | 2 +-
drivers/staging/media/bcm2048/TODO | 2 +-
drivers/video/fbdev/skeletonfb.c | 8 +-
include/keys/asymmetric-subtype.h | 2 +-
include/keys/asymmetric-type.h | 2 +-
include/linux/assoc_array.h | 2 +-
include/linux/assoc_array_priv.h | 2 +-
include/linux/circ_buf.h | 2 +-
include/linux/ftrace.h | 2 +-
include/linux/rculist_nulls.h | 2 +-
include/linux/tracepoint.h | 2 +-
include/uapi/linux/prctl.h | 2 +-
include/xen/interface/io/kbdif.h | 2 +-
kernel/cgroup/cpuset.c | 2 +-
kernel/trace/Kconfig | 16 +--
lib/Kconfig | 2 +-
scripts/documentation-file-ref-check | 125 ++++++++++++++++--
security/device_cgroup.c | 2 +-
security/selinux/hooks.c | 2 +-
sound/core/Kconfig | 4 +-
sound/drivers/Kconfig | 4 +-
sound/pci/Kconfig | 10 +-
tools/include/uapi/linux/prctl.h | 2 +-
tools/lib/api/fs/fs.c | 2 +-
tools/memory-model/README | 10 +-
tools/perf/util/bpf-prologue.c | 2 +-
.../config/custom-timeline-functions.cfg | 4 +-
99 files changed, 274 insertions(+), 171 deletions(-)
rename Documentation/{cgroup-v2.txt => admin-guide/cgroup-v2.rst} (100%)Signature · 1 line
2.17.0
PATCH v2 1/11 docs: can.rst: fix a footnote reference
As stated at:
http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#footnotes
A footnote should contain either a number, a reference or an auto number, e. g.:
[1], [#f1] or [#].
While using [*] accidentaly works for html, it fails for other document outputs. In particular, it causes an error with LaTeX output, causing all books after networking to not be built.
So, replace it by a valid syntax.
--- Documentation/networking/can.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/can.rst +2 -2
@@ -164,7 +164,7 @@ The Linux network devices (by default) just can handle the transmission and reception of media dependent frames. Due to the arbitration on the CAN bus the transmission of a low prio CAN-ID may be delayed by the reception of a high prio CAN frame. To -reflect the correct [*]_ traffic on the node the loopback of the sent +reflect the correct [#f1]_ traffic on the node the loopback of the sent data has to be performed right after a successful transmission. If the CAN network interface is not capable of performing the loopback for some reason the SocketCAN core can do this task as a fallback solution.
@@ -175,7 +175,7 @@ networking behaviour for CAN applications. Due to some requests from the RT-SocketCAN group the loopback optionally may be disabled for each separate socket. See sockopts from the CAN RAW sockets in :ref:`socketcan-raw-sockets`. -.. [*] you really like to have this when you're running analyser +.. [#f1] you really like to have this when you're running analyser tools like 'candump' or 'cansniffer' on the (same) node.
Signature · 1 line
2.17.0
PATCH v2 2/11 docs: admin-guide: add cgroup-v2 documentation
In reply to Mauro Carvalho ChehabThe cgroup-v2.txt is already in ReST format. So, move it to the admin-guide, where it belongs.
---
Documentation/00-INDEX | 2 --
Documentation/{cgroup-v2.txt => admin-guide/cgroup-v2.rst} | 0
Documentation/admin-guide/index.rst | 1 +
3 files changed, 1 insertion(+), 2 deletions(-)
rename Documentation/{cgroup-v2.txt => admin-guide/cgroup-v2.rst} (100%)Documentation/00-INDEX +0 -2
@@ -80,8 +80,6 @@ cdrom/ - directory with information on the CD-ROM drivers that Linux has. cgroup-v1/ - cgroups v1 features, including cpusets and memory controller. -cgroup-v2.txt - - cgroups v2 features, including cpusets and memory controller. cma/ - Continuous Memory Area (CMA) debugfs interface. conf.py
Documentation/admin-guide/cgroup-v2.rst renamed from Documentation/cgroup-v2.txt +0 -0
Documentation/admin-guide/index.rst +1 -0
@@ -48,6 +48,7 @@ configure specific aspects of kernel behavior to your liking. :maxdepth: 1 initrd + cgroup-v2 serial-console braille-console parport
Signature · 1 line
2.17.0
Re: [PATCH v2 02/11] docs: admin-guide: add cgroup-v2 documentation
Quoted 7 lines · Mauro Carvalho Chehab
The cgroup-v2.txt is already in ReST format. So, move it to the admin-guide, where it belongs.
Cc Tejun Heo <[email protected]>Cc Li Zefan <[email protected]>Cc Johannes Weiner <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>
Thanks.
Signature · 1 line
tejun
Re: [PATCH v2 02/11] docs: admin-guide: add cgroup-v2 documentation
Quoted 10 lines · On Thu, 10 May 2018 11:40:18 -0700 Tejun Heo <[email protected]> wrote:
Quoted 7 lines · Mauro Carvalho Chehab
The cgroup-v2.txt is already in ReST format. So, move it to the admin-guide, where it belongs.
Cc Tejun Heo <[email protected]>Cc Li Zefan <[email protected]>Cc Johannes Weiner <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>Acked-by Tejun Heo <[email protected]>
Applied to the docs tree, thanks.
jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH v2 3/11 docs: crypto_engine.rst: Fix two parse warnings
In reply to Mauro Carvalho Chehab./Documentation/crypto/crypto_engine.rst:13: WARNING: Unexpected indentation. ./Documentation/crypto/crypto_engine.rst:15: WARNING: Block quote ends without a blank line; unexpected unindent.
--- Documentation/crypto/crypto_engine.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Documentation/crypto/crypto_engine.rst +5 -3
@@ -8,11 +8,13 @@ The crypto engine API (CE), is a crypto queue manager. Requirement ----------- -You have to put at start of your tfm_ctx the struct crypto_engine_ctx -struct your_tfm_ctx { +You have to put at start of your tfm_ctx the struct crypto_engine_ctx:: + + struct your_tfm_ctx { struct crypto_engine_ctx enginectx; ... -}; + }; + Why: Since CE manage only crypto_async_request, it cannot know the underlying request_type and so have access only on the TFM. So using container_of for accessing __ctx is impossible.
Signature · 1 line
2.17.0
PATCH v2 4/11 docs: dell_rbu.txt: fix location of request_firmware
In reply to Mauro Carvalho Chehabcommit 5d6d1ddd2730 ("firmware: move firmware loader into its own directory") and other commits renamed the old firmware_class.c file and split it into separate files, but documentation was not changed accordingly, causing Sphinx errors.
Fixes for other files were already applied but dell_rbu.txt remains pointing to the old location.
--- Documentation/dell_rbu.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/dell_rbu.txt +2 -2
@@ -121,8 +121,8 @@ read back the image downloaded. .. note:: - This driver requires a patch for firmware_class.c which has the modified - request_firmware_nowait function. + This driver requires a patch for drivers/base/firmware_loader/main.c + which has the modified request_firmware_nowait() function. Also after updating the BIOS image a user mode application needs to execute code which sends the BIOS update request to the BIOS. So on the next reboot
Signature · 1 line
2.17.0
Re: [PATCH v2 04/11] docs: dell_rbu.txt: fix location of request_firmware
Em Wed, 9 May 2018 10:18:47 -0300
Mauro Carvalho Chehab <[email protected]> escreveu:
Quoted 22 lines
commit
5d6d1ddd2730("firmware: move firmware loader into its own directory") and other commits renamed the oldfirmware_class.cfile and split it into separate files, but documentation was not changed accordingly, causing Sphinx errors.Fixes for other files were already applied but dell_rbu.txt remains pointing to the old location.
Fixes 5d6d1ddd2730 ("firmware: move firmware loader into its own directory")Cc Kees Cook <[email protected]>Cc Luis R. Rodriguez <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>--- Documentation/dell_rbu.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/dell_rbu.txt +0
-0
Documentation/dell_rbu.txt read back the image downloaded. · line 125
Quoted 7 lines
Documentation/dell_rbu.txt +2
-2@@ -121,8 +121,8 @@ read back the image downloaded. .. note:: - This driver requires a patch for firmware_class.c which has the modified - request_firmware_nowait function. + This driver requires a patch for drivers/base/firmware_loader/main.c + which has the modified request_firmware_nowait() function.
Please ignore this one. Luis send a patch updating it just removing this comment, as it is outdated.
Regards,
Mauro
PATCH v2 5/11 docs: uio-howto.rst: use a code block to solve a warning
In reply to Mauro Carvalho Chehab/devel/v4l/docs/Documentation/driver-api/uio-howto.rst:715: WARNING: Unexpected indentation.
--- Documentation/driver-api/uio-howto.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/driver-api/uio-howto.rst +2 -1
@@ -711,7 +711,8 @@ The vmbus device regions are mapped into uio device resources: If a subchannel is created by a request to host, then the uio_hv_generic device driver will create a sysfs binary file for the per-channel ring buffer. -For example: +For example:: + /sys/bus/vmbus/devices/3811fe4d-0fa0-4b62-981a-74fc1084c757/channels/21/ring Further information
Signature · 1 line
2.17.0
PATCH v2 6/11 scripts/documentation-file-ref-check: rewrite it in perl with auto-fix mode
In reply to Mauro Carvalho ChehabThe original shell script works, but:
1) it is too slow;
2) it is hard to exclude rejex patterns
Convert it to perl.
Here, the new version is able to check the entire tree in less than a second (after cached):
real 0m0,284s user 0m0,668s sys 0m0,778s
The old version takes more than a minute to complete (also after cached):
real 1m17,905s user 0m25,583s sys 0m55,334s
It also produce less false-positives (if any).
The new script also contains an auto-fix mode.
Usually, file references get lost when they're moved to some other place and/or renamed to .rst.
Add an experimental mode to auto-fix those.
--- scripts/documentation-file-ref-check | 125 ++++++++++++++++++++++++--- 1 file changed, 113 insertions(+), 12 deletions(-)
scripts/documentation-file-ref-check +113 -12
@@ -1,15 +1,116 @@ -#!/bin/sh +#!/usr/bin/env perl +# SPDX-License-Identifier: GPL-2.0 +# # Treewide grep for references to files under Documentation, and report # non-existing files in stderr. -for f in $(git ls-files); do - for ref in $(grep -ho "Documentation/[A-Za-z0-9_.,~/*+-]*" "$f"); do - # presume trailing . and , are not part of the name - ref=${ref%%[.,]} - - # use ls to handle wildcards - if ! ls $ref >/dev/null 2>&1; then - echo "$f: $ref" >&2 - fi - done -done +use warnings; +use strict; +use Getopt::Long qw(:config no_auto_abbrev); + +my $scriptname = $0; +$scriptname =~ s,.*/([^/]+/),$1,; + +# Parse arguments +my $help = 0; +my $fix = 0; + +GetOptions( + 'fix' => \$fix, + 'h|help|usage' => \$help, +); + +if ($help != 0) { + print "$scriptname [--help] [--fix-rst]\n"; + exit -1; +} + +# Step 1: find broken references +print "Finding broken references. This may take a while... " if ($fix); + +my %broken_ref; + +open IN, "git grep 'Documentation/'|" + or die "Failed to run git grep"; +while (<IN>) { + next if (!m/^([^:]+):(.*)/); + + my $f = $1; + my $ln = $2; + + # Makefiles contain nasty expressions to parse docs + next if ($f =~ m/Makefile/); + # Skip this script + next if ($f eq $scriptname); + + if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*+-]*),) { + my $prefix = $1; + my $ref = $2; + my $base = $2; + + $ref =~ s/[\,\.]+$//; + + my $fulref = "$prefix$ref"; + + $fulref =~ s/^(\<file|ref)://; + $fulref =~ s/^[\'\`]+//; + $fulref =~ s,^\$\(.*\)/,,; + $base =~ s,.*/,,; + + # Remove URL false-positives + next if ($fulref =~ m/^http/); + + # Check if exists, evaluating wildcards + next if (grep -e, glob("$ref $fulref")); + + if ($fix) { + if (!($ref =~ m/(devicetree|scripts|Kconfig|Kbuild)/)) { + $broken_ref{$ref}++; + } + } else { + print STDERR "$f: $fulref\n"; + } + } +} + +exit 0 if (!$fix); + +# Step 2: Seek for file name alternatives +print "Auto-fixing broken references. Please double-check the results\n"; + +foreach my $ref (keys %broken_ref) { + my $new =$ref; + + # get just the basename + $new =~ s,.*/,,; + + # Seek for the same name on another place, as it may have been moved + my $f=""; + + $f = qx(find . -iname $new) if ($new); + + # usual reason for breakage: file renamed to .rst + if (!$f) { + $new =~ s/\.txt$/.rst/; + $f=qx(find . -iname $new) if ($new); + } + + my @find = split /\s+/, $f; + + if (!$f) { + print STDERR "ERROR: Didn't find a replacement for $ref\n"; + } elsif (scalar(@find) > 1) { + print STDERR "WARNING: Won't auto-replace, as found multiple files close to $ref:\n"; + foreach my $j (@find) { + $j =~ s,^./,,; + print STDERR " $j\n"; + } + } else { + $f = $find[0]; + $f =~ s,^./,,; + print "INFO: Replacing $ref to $f\n"; + foreach my $j (qx(git grep -l $ref)) { + qx(sed "s\@$ref\@$f\@g" -i $j); + } + } +}
Signature · 1 line
2.17.0
PATCH v2 7/11 docs: ranoops.rst: fix location of ramoops.txt
In reply to Mauro Carvalho ChehabThe location of the dt bindings file is wrong: it was probably badly renamed by some script.
--- Documentation/admin-guide/ramoops.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/ramoops.rst +1 -1
@@ -61,7 +61,7 @@ Setting the ramoops parameters can be done in several different manners: mem=128M ramoops.mem_address=0x8000000 ramoops.ecc=1 B. Use Device Tree bindings, as described in - ``Documentation/device-tree/bindings/reserved-memory/admin-guide/ramoops.rst``. + ``Documentation/devicetree/bindings/reserved-memory/ramoops.txt``. For example:: reserved-memory {
Signature · 1 line
2.17.0
PATCH v2 8/11 docs: refcount-vs-atomic.rst: prefix url with https
In reply to Mauro Carvalho ChehabThere's a github URL there, but it is not prefixed by https. Add a prefix, to avoid false-positives with:
./scripts/documentation-file-ref-check
As a side effect, Sphinx should also generate a cross-ref.
--- Documentation/core-api/refcount-vs-atomic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/refcount-vs-atomic.rst +1 -1
@@ -17,7 +17,7 @@ in order to help maintainers validate their code against the change in these memory ordering guarantees. The terms used through this document try to follow the formal LKMM defined in -github.com/aparri/memory-model/blob/master/Documentation/explanation.txt +https://github.com/aparri/memory-model/blob/master/Documentation/explanation.txt memory-barriers.txt and atomic_t.txt provide more background to the memory ordering in general and for atomic operations specifically.
Signature · 1 line
2.17.0
Re: [PATCH v2 08/11] docs: refcount-vs-atomic.rst: prefix url with https
Hi Mauro,
Quoted 7 lines · Mauro Carvalho Chehab
There's a github URL there, but it is not prefixed by https. Add a prefix, to avoid false-positives with:
./scripts/documentation-file-ref-checkAs a side effect, Sphinx should also generate a cross-ref.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
There seems to be a "conflicting" patch ("applied" according to Jon):
http://lkml.kernel.org/r/1525468309-5310-1-git-send-email-andrea.parri@amarulasolutions.com
Let me stress here that the github repo. is out-of-date (and we have no plans to keep that in sync with mainline).
Andrea
Quoted 20 lines
--- Documentation/core-api/refcount-vs-atomic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/core-api/refcount-vs-atomic.rst +1
-1@@ -17,7 +17,7 @@ in order to help maintainers validate their code against the change in these memory ordering guarantees. The terms used through this document try to follow the formal LKMM defined in -github.com/aparri/memory-model/blob/master/Documentation/explanation.txt +https://github.com/aparri/memory-model/blob/master/Documentation/explanation.txt memory-barriers.txt and atomic_t.txt provide more background to the memory ordering in general and for atomic operations specifically.Signature · 1 line
2.17.0
Re: [PATCH v2 08/11] docs: refcount-vs-atomic.rst: prefix url with https
Em Wed, 9 May 2018 15:43:19 +0200
Andrea Parri <[email protected]> escreveu:
Quoted 9 lines
Hi Mauro,
Quoted 6 lines · Mauro Carvalho Chehab
There's a github URL there, but it is not prefixed by https. Add a prefix, to avoid false-positives with:
./scripts/documentation-file-ref-checkAs a side effect, Sphinx should also generate a cross-ref.
Quoted 8 lines
Quoted 1 line
Signed-off-by Mauro Carvalho Chehab <[email protected]>There seems to be a "conflicting" patch ("applied" according to Jon):
http://lkml.kernel.org/r/1525468309-5310-1-git-send-email-andrea.parri@amarulasolutions.comLet me stress here that the github repo. is out-of-date (and we have no plans to keep that in sync with mainline).
Good! One less patch pending :-)
Yeah, it seems that Jon pushed it from his repository today. I did a new git remote update and I'm now seeing this one too.
Quoted 19 lines
Andrea
Quoted 15 lines
--- Documentation/core-api/refcount-vs-atomic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/core-api/refcount-vs-atomic.rst +1
-1@@ -17,7 +17,7 @@ in order to help maintainers validate their code against the change in these memory ordering guarantees. The terms used through this document try to follow the formal LKMM defined in -github.com/aparri/memory-model/blob/master/Documentation/explanation.txt +https://github.com/aparri/memory-model/blob/master/Documentation/explanation.txt
Quoted 5 lines
Quoted 5 lines
Documentation/core-api/refcount-vs-atomic.rst +0
-0memory-barriers.txt and atomic_t.txt provide more background to the memory ordering in general and for atomic operations specifically.Signature · 1 line
2.17.0
Thanks,
Mauro
PATCH v2 9/11 docs: Fix some broken references
In reply to Mauro Carvalho ChehabAs we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rst
Manually checked if the produced result is valid, removing a few false-positives.
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +- tools/memory-model/README | 10 +++++----- tools/perf/util/bpf-prologue.c | 2 +- .../config/custom-timeline-functions.cfg | 4 ++-- 74 files changed, 120 insertions(+), 120 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +2 -2
@@ -4259,7 +4259,7 @@ [FTRACE] Set and start specified trace events in order to facilitate early boot debugging. The event-list is a comma separated list of trace events to enable. See - also Documentation/trace/events.txt + also Documentation/trace/events.rst trace_options=[option-list] [FTRACE] Enable or disable tracer options at boot.
@@ -4274,7 +4274,7 @@ trace_options=stacktrace - See also Documentation/trace/ftrace.txt "trace options" + See also Documentation/trace/ftrace.rst "trace options" section. tp_printk[FTRACE]
Documentation/devicetree/bindings/input/rotary-encoder.txt +1 -1
@@ -28,7 +28,7 @@ Deprecated properties: This property is deprecated. Instead, a 'steps-per-period ' value should be used, such as "rotary-encoder,steps-per-period = <2>". -See Documentation/input/rotary-encoder.txt for more information. +See Documentation/input/devices/rotary-encoder.rst for more information. Example:
Documentation/driver-api/gpio/consumer.rst +1 -1
@@ -57,7 +57,7 @@ device that displays digits), an additional index argument can be specified:: enum gpiod_flags flags) For a more detailed description of the con_id parameter in the DeviceTree case -see Documentation/gpio/board.txt +see Documentation/driver-api/gpio/board.rst The flags parameter is used to optionally specify a direction and initial value for the GPIO. Values can be:
Documentation/kprobes.txt +2 -2
@@ -724,8 +724,8 @@ migrate your tool to one of the following options: See following documents: - - Documentation/trace/kprobetrace.txt - - Documentation/trace/events.txt + - Documentation/trace/kprobetrace.rst + - Documentation/trace/events.rst - tools/perf/Documentation/perf-probe.txt
Documentation/trace/coresight.txt +1 -1
@@ -426,5 +426,5 @@ root@genericarmv8:~# Details on how to use the generic STM API can be found here [2]. [1]. Documentation/ABI/testing/sysfs-bus-coresight-devices-stm -[2]. Documentation/trace/stm.txt +[2]. Documentation/trace/stm.rst [3]. https://github.com/Linaro/perf-opencsd
Documentation/trace/events.rst +1 -1
@@ -338,7 +338,7 @@ used for conditionally invoking triggers. The syntax for event triggers is roughly based on the syntax for set_ftrace_filter 'ftrace filter commands' (see the 'Filter commands' -section of Documentation/trace/ftrace.txt), but there are major +section of Documentation/trace/ftrace.rst), but there are major differences and the implementation isn't currently tied to it in any way, so beware about making generalizations between the two.
Documentation/trace/ftrace-uses.rst +1 -1
@@ -199,7 +199,7 @@ If @buf is NULL and reset is set, all functions will be enabled for tracing. The @buf can also be a glob expression to enable all functions that match a specific pattern. -See Filter Commands in :file:`Documentation/trace/ftrace.txt`. +See Filter Commands in :file:`Documentation/trace/ftrace.rst`. To just trace the schedule function:
Documentation/trace/histogram.txt +1 -1
@@ -7,7 +7,7 @@ Histogram triggers are special event triggers that can be used to aggregate trace event data into histograms. For information on - trace events and event triggers, see Documentation/trace/events.txt. + trace events and event triggers, see Documentation/trace/events.rst. 2. Histogram Trigger Command
Documentation/trace/intel_th.rst +1 -1
@@ -38,7 +38,7 @@ description is at Documentation/ABI/testing/sysfs-bus-intel_th-devices-gth. STH registers an stm class device, through which it provides interface to userspace and kernelspace software trace sources. See -Documentation/trace/stm.txt for more information on that. +Documentation/trace/stm.rst for more information on that. MSU can be configured to collect trace data into a system memory buffer, which can later on be read from its device nodes via read() or
Documentation/trace/tracepoint-analysis.rst +3 -3
@@ -55,7 +55,7 @@ simple case of:: 3.1 System-Wide Event Enabling ------------------------------ -See Documentation/trace/events.txt for a proper description on how events +See Documentation/trace/events.rst for a proper description on how events can be enabled system-wide. A short example of enabling all events related to page allocation would look something like::
@@ -112,7 +112,7 @@ at that point. 3.4 Local Event Enabling ------------------------ -Documentation/trace/ftrace.txt describes how to enable events on a per-thread +Documentation/trace/ftrace.rst describes how to enable events on a per-thread basis using set_ftrace_pid. 3.5 Local Event Enablement with PCL
@@ -137,7 +137,7 @@ basis using PCL such as follows. 4. Event Filtering ================== -Documentation/trace/ftrace.txt covers in-depth how to filter events in +Documentation/trace/ftrace.rst covers in-depth how to filter events in ftrace. Obviously using grep and awk of trace_pipe is an option as well as any script reading trace_pipe.
Documentation/translations/ja_JP/howto.rst +2 -2
@@ -1,5 +1,5 @@ NOTE: -This is a version of Documentation/HOWTO translated into Japanese. +This is a version of Documentation/process/howto.rst translated into Japanese. This document is maintained by Tsugikazu Shibata <[email protected]> If you find any difference between this document and the original file or a problem with the translation, please contact the maintainer of this file.
@@ -109,7 +109,7 @@ [email protected] に送ることを勧めます。 ています。 カーネルに関して初めての人はここからスタートすると良い でしょう。 - :ref:`Documentation/Process/changes.rst <changes>` + :ref:`Documentation/process/changes.rst <changes>` このファイルはカーネルをうまく生成(訳注 build )し、走らせるのに最 小限のレベルで必要な数々のソフトウェアパッケージの一覧を示してい ます。
Documentation/translations/zh_CN/magic-number.txt +2 -2
@@ -1,4 +1,4 @@ -Chinese translated version of Documentation/magic-number.txt +Chinese translated version of Documentation/process/magic-number.rst If you have any comment or update to the content, please post to LKML directly. However, if you have problem communicating in English you can also ask the
@@ -7,7 +7,7 @@ translation is outdated or there is problem with translation. Chinese maintainer: Jia Wei Wei <[email protected]> --------------------------------------------------------------------- -Documentation/magic-number.txt的中文翻译 +Documentation/process/magic-number.rst的中文翻译 如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。
Documentation/translations/zh_CN/video4linux/omap3isp.txt +2 -2
@@ -1,4 +1,4 @@ -Chinese translated version of Documentation/video4linux/omap3isp.txt +Chinese translated version of Documentation/media/v4l-drivers/omap3isp.rst If you have any comment or update to the content, please contact the original document maintainer directly. However, if you have a problem
@@ -11,7 +11,7 @@ Maintainer: Laurent Pinchart <[email protected]> David Cohen <[email protected]> Chinese maintainer: Fu Wei <[email protected]> --------------------------------------------------------------------- -Documentation/video4linux/omap3isp.txt 的中文翻译 +Documentation/media/v4l-drivers/omap3isp.rst 的中文翻译 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
MAINTAINERS +10 -10
@@ -3057,7 +3057,7 @@ M: Clemens Ladisch <[email protected]> L: [email protected] (moderated for non-subscribers) T: git git://git.alsa-project.org/alsa-kernel.git S: Maintained -F: Documentation/sound/alsa/Bt87x.txt +F: Documentation/sound/cards/bt87x.rst F: sound/pci/bt87x.c BT8XXGPIO DRIVER
@@ -3347,7 +3347,7 @@ M: David Howells <[email protected]> M: David Woodhouse <[email protected]> L: [email protected] S: Maintained -F: Documentation/module-signing.txt +F: Documentation/admin-guide/module-signing.rst F: certs/ F: scripts/sign-file.c F: scripts/extract-cert.c
@@ -6434,7 +6434,7 @@ L: [email protected] S: Maintained F: mm/hmm* F: include/linux/hmm* -F: Documentation/vm/hmm.txt +F: Documentation/vm/hmm.rst HOST AP DRIVER M: Jouni Malinen <[email protected]>
@@ -7314,7 +7314,7 @@ F: drivers/platform/x86/intel-wmi-thunderbolt.c INTEL(R) TRACE HUB M: Alexander Shishkin <[email protected]> S: Supported -F: Documentation/trace/intel_th.txt +F: Documentation/trace/intel_th.rst F: drivers/hwtracing/intel_th/ INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT)
@@ -9559,7 +9559,7 @@ F: include/uapi/linux/mmc/ MULTIPLEXER SUBSYSTEM M: Peter Rosin <[email protected]> S: Maintained -F: Documentation/ABI/testing/mux/sysfs-class-mux* +F: Documentation/ABI/testing/sysfs-class-mux* F: Documentation/devicetree/bindings/mux/ F: include/linux/dt-bindings/mux/ F: include/linux/mux/
@@ -10115,7 +10115,7 @@ F: arch/powerpc/include/asm/pnv-ocxl.h F: drivers/misc/ocxl/ F: include/misc/ocxl* F: include/uapi/misc/ocxl.h -F: Documentation/accelerators/ocxl.txt +F: Documentation/accelerators/ocxl.rst OMAP AUDIO SUPPORT M: Peter Ujfalusi <[email protected]>
@@ -13624,7 +13624,7 @@ SYSTEM TRACE MODULE CLASS M: Alexander Shishkin <[email protected]> S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git -F: Documentation/trace/stm.txt +F: Documentation/trace/stm.rst F: drivers/hwtracing/stm/ F: include/linux/stm.h F: include/uapi/linux/stm.h
@@ -14305,7 +14305,7 @@ M: Steven Rostedt <[email protected]> M: Ingo Molnar <[email protected]> T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core S: Maintained -F: Documentation/trace/ftrace.txt +F: Documentation/trace/ftrace.rst F: arch/*/*/*/ftrace.h F: arch/*/kernel/ftrace.c F: include/*/ftrace.h
@@ -14763,7 +14763,7 @@ M: Heikki Krogerus <[email protected]> L: [email protected] S: Maintained F: Documentation/ABI/testing/sysfs-class-typec -F: Documentation/usb/typec.rst +F: Documentation/driver-api/usb/typec.rst F: drivers/usb/typec/ F: include/linux/usb/typec.h
@@ -15565,7 +15565,7 @@ YEALINK PHONE DRIVER M: Henk Vergonet <[email protected]> L: [email protected] S: Maintained -F: Documentation/input/yealink.rst +F: Documentation/input/devices/yealink.rst F: drivers/input/misc/yealink.* Z8530 DRIVER FOR AX.25
arch/Kconfig +1 -1
@@ -399,7 +399,7 @@ config SECCOMP_FILTER in terms of Berkeley Packet Filter programs which implement task-defined system call filtering polices. - See Documentation/prctl/seccomp_filter.txt for details. + See Documentation/userspace-api/seccomp_filter.rst for details. config HAVE_GCC_PLUGINS bool
arch/arm/include/asm/cacheflush.h +1 -1
@@ -35,7 +35,7 @@* Start addresses are inclusive and end addresses are exclusive; * start addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. +* See Documentation/core-api/cachetlb.rst for more information. * Please note that the implementation of these, and the required * effects are cache-type (VIVT/VIPT/PIPT) specific. *
arch/arm64/include/asm/cacheflush.h +1 -1
@@ -36,7 +36,7 @@* Start addresses are inclusive and end addresses are exclusive; start * addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. Please note that +* See Documentation/core-api/cachetlb.rst for more information. Please note that * the implementation assumes non-aliasing VIPT D-cache and (aliasing) * VIPT I-cache. *
arch/microblaze/include/asm/cacheflush.h +1 -1
@@ -19,7 +19,7 @@#include <linux/mm.h> #include <linux/io.h> -/* Look at Documentation/cachetlb.txt */ +/* Look at Documentation/core-api/cachetlb.rst */ /* * Cache handling functions.
arch/um/Kconfig.um +1 -1
@@ -80,7 +80,7 @@ config MAGIC_SYSRQ On UML, this is accomplished by sending a "sysrq" command with mconsole, followed by the letter for the requested command. - The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y + The keys are documented in <file:Documentation/admin-guide/sysrq.rst>. Don't say Y unless you really know what this hack does. config KERNEL_STACK_ORDER
arch/unicore32/include/asm/cacheflush.h +1 -1
@@ -33,7 +33,7 @@* Start addresses are inclusive and end addresses are exclusive; * start addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. +* See Documentation/core-api/cachetlb.rst for more information. * Please note that the implementation of these, and the required * effects are cache-type (VIVT/VIPT/PIPT) specific. *
arch/x86/entry/vsyscall/vsyscall_64.c +1 -1
@@ -201,7 +201,7 @@ bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)/* * Handle seccomp. regs->ip must be the original value. -* See seccomp_send_sigsys and Documentation/prctl/seccomp_filter.txt. +* See seccomp_send_sigsys and Documentation/userspace-api/seccomp_filter.rst. * * We could optimize the seccomp disabled case, but performance * here doesn't matter.
arch/xtensa/include/asm/cacheflush.h +2 -2
@@ -88,7 +88,7 @@ static inline void __invalidate_icache_page_alias(unsigned long virt,* * Pages can get remapped. Because this might change the 'color' of that page, * we have to flush the cache before the PTE is changed. -* (see also Documentation/cachetlb.txt) +* (see also Documentation/core-api/cachetlb.rst) */ #if defined(CONFIG_MMU) && \
@@ -152,7 +152,7 @@ void local_flush_cache_page(struct vm_area_struct *vma,__invalidate_icache_range (start,(end) - (start)); \ }while (0 ) -/* This is not required, see Documentation/cachetlb.txt */ +/* This is not required, see Documentation/core-api/cachetlb.rst */#define flush_icache_page (vma,page) do { } while (0)#define flush_dcache_mmap_lock (mapping) do { } while (0)
block/Kconfig +1 -1
@@ -114,7 +114,7 @@ config BLK_DEV_THROTTLING one needs to mount and use blkio cgroup controller for creating cgroups and specifying per device IO rate policies. - See Documentation/cgroups/blkio-controller.txt for more information. + See Documentation/cgroup-v1/blkio-controller.txt for more information. config BLK_DEV_THROTTLING_LOW bool "Block throttling .low limit interface support (EXPERIMENTAL)"
certs/Kconfig +1 -1
@@ -13,7 +13,7 @@ config MODULE_SIG_KEY If this option is unchanged from its default "certs/signing_key.pem", then the kernel will automatically generate the private key and - certificate as described in Documentation/module-signing.txt + certificate as described in Documentation/admin-guide/module-signing.rst config SYSTEM_TRUSTED_KEYRING bool "Provide system-wide ring of trusted keys"
crypto/asymmetric_keys/asymmetric_type.c +1 -1
@@ -1,6 +1,6 @@/* Asymmetric public-key cryptography key type * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
crypto/asymmetric_keys/signature.c +1 -1
@@ -1,6 +1,6 @@/* Signature verification with an asymmetric key * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
drivers/char/Kconfig +1 -1
@@ -81,7 +81,7 @@ config PRINTER corresponding drivers into the kernel. To compile this driver as a module, choose M here and read - <file:Documentation/parport.txt>. The module will be called lp. + <file:Documentation/admin-guide/parport.rst>. The module will be called lp. If you have several parallel ports, you can specify which ports to use with the "lp" kernel command line option. (Try "man bootparam"
drivers/clk/clk.c +2 -2
@@ -6,7 +6,7 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * -* Standard functionality for the common clock API. See Documentation/clk.txt +* Standard functionality for the common clock API. See Documentation/driver-api/clk.rst */ #include <linux/clk.h>
@@ -2827,7 +2827,7 @@ static int __clk_core_init(struct clk_core *core) goto out; } -/* check that clk_ops are sane. See Documentation/clk.txt */ +/* check that clk_ops are sane. See Documentation/driver-api/clk.rst */ if (core->ops->set_rate && !((core->ops->round_rate || core->ops->determine_rate) && core->ops->recalc_rate)) {
drivers/clk/ingenic/cgu.h +1 -1
@@ -190,7 +190,7 @@ struct ingenic_cgu {/** * struct ingenic_clk - private data for a clock -* @hw: see Documentation/clk.txt +* @hw: see Documentation/driver-api/clk.rst * @cgu: a pointer to the CGU data * @idx: the index of this clock in cgu->clock_info */
drivers/gpu/vga/Kconfig +1 -1
@@ -6,7 +6,7 @@ config VGA_ARB Some "legacy" VGA devices implemented on PCI typically have the same hard-decoded addresses as they did on ISA. When multiple PCI devices are accessed at same time they need some kind of coordination. Please - see Documentation/vgaarbiter.txt for more details. Select this to + see Documentation/gpu/vgaarbiter.rst for more details. Select this to enable VGA arbiter. config VGA_ARB_MAX_GPUS
drivers/gpu/vga/vgaarb.c +1 -1
@@ -1,6 +1,6 @@/* * vgaarb.c: Implements the VGA arbitration. For details refer to -* Documentation/vgaarbiter.txt +* Documentation/gpu/vgaarbiter.rst * * * (C) Copyright 2005 Benjamin Herrenschmidt <[email protected]>
drivers/input/joystick/Kconfig +5 -5
@@ -214,7 +214,7 @@ config JOYSTICK_DB9 gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick connected to your parallel port. For more information on how to use the driver please read - <file:Documentation/input/joystick-parport.txt>. + <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called db9.
@@ -229,7 +229,7 @@ config JOYSTICK_GAMECON Sony PlayStation gamepad or a Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick connected to your parallel port. For more information on how to use the driver please read - <file:Documentation/input/joystick-parport.txt>. + <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called gamecon.
@@ -241,7 +241,7 @@ config JOYSTICK_TURBOGRAFX Say Y here if you have the TurboGraFX interface by Steffen Schwenke, and want to use it with Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick. For more information on how to use the driver - please read <file:Documentation/input/joystick-parport.txt>. + please read <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called turbografx.
@@ -287,7 +287,7 @@ config JOYSTICK_XPAD and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well. For information about how to connect the X-Box pad to USB, see - <file:Documentation/input/xpad.txt>. + <file:Documentation/input/devices/xpad.rst>. To compile this driver as a module, choose M here: the module will be called xpad.
@@ -313,7 +313,7 @@ config JOYSTICK_WALKERA0701 Say Y or M here if you have a Walkera WK-0701 transmitter which is supplied with a ready to fly Walkera helicopters such as HM36, HM37, HM60 and want to use it via parport as a joystick. More - information is available: <file:Documentation/input/walkera0701.txt> + information is available: <file:Documentation/input/devices/walkera0701.rst> To compile this driver as a module, choose M here: the module will be called walkera0701.
drivers/input/joystick/iforce/Kconfig +1 -1
@@ -28,5 +28,5 @@ config JOYSTICK_IFORCE_232 You will need an additional utility called inputattach, see <file:Documentation/input/joystick.txt> - and <file:Documentation/input/ff.txt>. + and <file:Documentation/input/ff.rst>.
drivers/input/joystick/walkera0701.c +1 -1
@@ -3,7 +3,7 @@* * Copyright (c) 2008 Peter Popovec * -* More about driver: <file:Documentation/input/walkera0701.txt> +* More about driver: <file:Documentation/input/devices/walkera0701.rst> */ /*
drivers/input/misc/Kconfig +2 -2
@@ -411,7 +411,7 @@ config INPUT_YEALINK usb sound driver, so you might want to enable that as well. For information about how to use these additional functions, see - <file:Documentation/input/yealink.txt>. + <file:Documentation/input/devices/yealink.rst>. To compile this driver as a module, choose M here: the module will be called yealink.
@@ -595,7 +595,7 @@ config INPUT_GPIO_ROTARY_ENCODER depends on GPIOLIB || COMPILE_TEST help Say Y here to add support for rotary encoders connected to GPIO lines. - Check file:Documentation/input/rotary-encoder.txt for more + Check file:Documentation/input/devices/rotary-encoder.rst for more information. To compile this driver as a module, choose M here: the
drivers/input/misc/rotary_encoder.c +1 -1
@@ -7,7 +7,7 @@* state machine code inspired by code from Tim Ruetz * * A generic driver for rotary encoders connected to GPIO lines. -* See file:Documentation/input/rotary-encoder.txt for more information +* See file:Documentation/input/devices/rotary-encoder.rst for more information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as
drivers/input/mouse/Kconfig +3 -3
@@ -129,7 +129,7 @@ config MOUSE_PS2_ELANTECH This driver exposes some configuration registers via sysfs entries. For further information, - see <file:Documentation/input/elantech.txt>. + see <file:Documentation/input/devices/elantech.rst>. If unsure, say N.
@@ -216,7 +216,7 @@ config MOUSE_APPLETOUCH scrolling in X11. For further information, see - <file:Documentation/input/appletouch.txt>. + <file:Documentation/input/devices/appletouch.rst>. To compile this driver as a module, choose M here: the module will be called appletouch.
@@ -239,7 +239,7 @@ config MOUSE_BCM5974 The interface is currently identical to the appletouch interface, for further information, see - <file:Documentation/input/appletouch.txt>. + <file:Documentation/input/devices/appletouch.rst>. To compile this driver as a module, choose M here: the module will be called bcm5974.
drivers/input/mouse/alps.c +1 -1
@@ -212,7 +212,7 @@ static void alps_set_abs_params_v7(struct alps_data *priv,static void alps_set_abs_params_ss4_v2 (struct alps_data *priv,struct input_dev *dev1); -/* Packet formats are described in Documentation/input/alps.txt */ +/* Packet formats are described in Documentation/input/devices/alps.rst */ static bool alps_is_valid_first_byte (struct alps_data *priv,unsigned char data)
drivers/input/touchscreen/wm97xx-core.c +1 -1
@@ -68,7 +68,7 @@* The default values correspond to Mainstone II in QVGA mode * * Please read -* Documentation/input/input-programming.txt for more details. +* Documentation/input/input-programming.rst for more details. */ static int abs_x[3 ] = {150 ,4000 ,5 };
drivers/lightnvm/pblk-rb.c +1 -1
@@ -38,7 +38,7 @@ void pblk_rb_data_free(struct pblk_rb *rb)/* * Initialize ring buffer. The data and metadata buffers must be previously * allocated and their size must be a power of two -* (Documentation/circular-buffers.txt) +* (Documentation/core-api/circular-buffers.rst) */ int pblk_rb_init (struct pblk_rb *rb,struct pblk_rb_entry *rb_entry_base,unsigned int power_size,unsigned int power_seg_sz)
drivers/md/bcache/Kconfig +1 -1
@@ -5,7 +5,7 @@ config BCACHE Allows a block device to be used as cache for other devices; uses a btree for indexing and the layout is optimized for SSDs. - See Documentation/bcache.txt for details. + See Documentation/admin-guide/bcache.rst for details. config BCACHE_DEBUG bool "Bcache debugging"
drivers/md/bcache/btree.c +1 -1
@@ -18,7 +18,7 @@* as keys are inserted we only sort the pages that have not yet been written. * When garbage collection is run, we resort the entire node. * -* All configuration is done via sysfs; see Documentation/bcache.txt. +* All configuration is done via sysfs; see Documentation/admin-guide/bcache.rst. */ #include "bcache.h"
drivers/md/bcache/extents.c +1 -1
@@ -18,7 +18,7 @@* as keys are inserted we only sort the pages that have not yet been written. * When garbage collection is run, we resort the entire node. * -* All configuration is done via sysfs; see Documentation/bcache.txt. +* All configuration is done via sysfs; see Documentation/admin-guide/bcache.rst. */ #include "bcache.h"
drivers/media/dvb-core/dvb_ringbuffer.c +1 -1
@@ -55,7 +55,7 @@ int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf)* this pairs with smp_store_release() in dvb_ringbuffer_write(), * dvb_ringbuffer_write_user(), or dvb_ringbuffer_reset() * -* for memory barriers also see Documentation/circular-buffers.txt +* for memory barriers also see Documentation/core-api/circular-buffers.rst */ return (rbuf->pread ==smp_load_acquire (&rbuf->pwrite)); }
drivers/media/pci/meye/Kconfig +1 -1
@@ -4,7 +4,7 @@ config VIDEO_MEYE ---help--- This is the video4linux driver for the Motion Eye camera found in the Vaio Picturebook laptops. Please read the material in - <file:Documentation/video4linux/meye.txt> for more information. + <file:Documentation/media/v4l-drivers/meye.rst> for more information. If you say Y or M here, you need to say Y or M to "Sony Laptop Extras" in the misc device section.
drivers/media/platform/pxa_camera.c +2 -2
@@ -1021,7 +1021,7 @@ static void pxa_camera_wakeup(struct pxa_camera_dev *pcdev,* - a videobuffer is queued on the pcdev->capture list * * Please check the "DMA hot chaining timeslice issue" in -* Documentation/video4linux/pxa_camera.txt +* Documentation/media/v4l-drivers/pxa_camera.rst * * Context: should only be called within the dma irq handler */
@@ -1443,7 +1443,7 @@ static void pxac_vb2_queue(struct vb2_buffer *vb)/* * Please check the DMA prepared buffer structure in : -* Documentation/video4linux/pxa_camera.txt +* Documentation/media/v4l-drivers/pxa_camera.rst * Please check also in pxa_camera_check_link_miss() to understand why DMA chain * modification while DMA chain is running will work anyway. */
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +1 -1
@@ -1111,7 +1111,7 @@ static void sh_mobile_ceu_put_formats(struct soc_camera_device *icd)/* * CEU can scale and crop, but we don't want to waste bandwidth and kill the * framerate by always requesting the maximum image from the client. See -* Documentation/video4linux/sh_mobile_ceu_camera.txt for a description of +* Documentation/media/v4l-drivers/sh_mobile_ceu_camera.rst for a description of * scaling and cropping algorithms and for the meaning of referenced here steps. */ static int sh_mobile_ceu_set_selection(struct soc_camera_device *icd,
drivers/media/radio/Kconfig +1 -1
@@ -274,7 +274,7 @@ config RADIO_RTRACK been reported to be used by these cards. More information is contained in the file - <file:Documentation/video4linux/radiotrack.txt>. + <file:Documentation/media/v4l-drivers/radiotrack.rst>. To compile this driver as a module, choose M here: the module will be called radio-aimslab.
drivers/media/radio/si470x/Kconfig +1 -1
@@ -15,7 +15,7 @@ config USB_SI470X Please have a look at the documentation, especially on how to redirect the audio stream from the radio to your sound device: - Documentation/video4linux/si470x.txt + Documentation/media/v4l-drivers/si470x.rst Say Y here if you want to connect this type of radio to your computer's USB port.
drivers/media/usb/dvb-usb-v2/lmedm04.c +1 -1
@@ -21,7 +21,7 @@* * LME2510C + M88RS2000 * -* For firmware see Documentation/dvb/lmedm04.txt +* For firmware see Documentation/media/dvb-drivers/lmedm04.rst * * I2C addresses: * 0xd0 - STV0288 - Demodulator
drivers/media/usb/zr364xx/Kconfig +1 -1
@@ -6,7 +6,7 @@ config USB_ZR364XX ---help--- Say Y here if you want to connect this type of camera to your computer's USB port. - See <file:Documentation/video4linux/zr364xx.txt> for more info + See <file:Documentation/media/v4l-drivers/zr364xx.rst> for more info and list of supported cameras. To compile this driver as a module, choose M here: the
drivers/parport/Kconfig +3 -3
@@ -20,7 +20,7 @@ menuconfig PARPORT drive, PLIP link (Parallel Line Internet Protocol is mainly used to create a mini network by connecting the parallel ports of two local machines) etc., then you need to say Y here; please read - <file:Documentation/parport.txt> and + <file:Documentation/admin-guide/parport.rst> and <file:drivers/parport/BUGS-parport>. For extensive information about drivers for many devices attaching
@@ -33,7 +33,7 @@ menuconfig PARPORT the module will be called parport. If you have more than one parallel port and want to specify which port and IRQ to be used by this driver at module load time, take a - look at <file:Documentation/parport.txt>. + look at <file:Documentation/admin-guide/parport.rst>. If unsure, say Y.
@@ -71,7 +71,7 @@ config PARPORT_PC_FIFO As well as actually having a FIFO, or DMA capability, the kernel will need to know which IRQ the parallel port has. By default, parallel port interrupts will not be used, and so neither will the - FIFO. See <file:Documentation/parport.txt> to find out how to + FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to specify which IRQ/DMA to use. config PARPORT_PC_SUPERIO
drivers/staging/media/bcm2048/TODO +1 -1
@@ -3,7 +3,7 @@ TODO: From the initial code review: The main thing you need to do is to implement all the controls using the -control framework (see Documentation/video4linux/v4l2-controls.txt). +control framework (see Documentation/media/kapi/v4l2-controls.rst). Most drivers are by now converted to the control framework, so you will find many examples of how to do this in drivers/media/radio.
include/keys/asymmetric-subtype.h +1 -1
@@ -1,6 +1,6 @@/* Asymmetric public-key cryptography key subtype * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/keys/asymmetric-type.h +1 -1
@@ -1,6 +1,6 @@/* Asymmetric Public-key cryptography key type interface * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/assoc_array.h +1 -1
@@ -1,6 +1,6 @@/* Generic associative array implementation. * -* See Documentation/assoc_array.txt for information. +* See Documentation/core-api/assoc_array.rst for information. * * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/assoc_array_priv.h +1 -1
@@ -1,6 +1,6 @@/* Private definitions for the generic associative array implementation. * -* See Documentation/assoc_array.txt for information. +* See Documentation/core-api/assoc_array.rst for information. * * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/circ_buf.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ /* -* See Documentation/circular-buffers.txt for more information. +* See Documentation/core-api/circular-buffers.rst for more information. */ #ifndef _LINUX_CIRC_BUF_H
include/linux/ftrace.h +1 -1
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0 */ /* * Ftrace header. For implementation details beyond the random comments -* scattered below, see: Documentation/trace/ftrace-design.txt +* scattered below, see: Documentation/trace/ftrace-design.rst */ #ifndef _LINUX_FTRACE_H
include/linux/rculist_nulls.h +1 -1
@@ -109,7 +109,7 @@ static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n,* * The barrier() is needed to make sure compiler doesn't cache first element [1], * as this loop can be restarted [2] -* [1] Documentation/atomic_ops.txt around line 114 +* [1] Documentation/core-api/atomic_ops.rst around line 114 * [2] Documentation/RCU/rculist_nulls.txt around line 146 */ #define hlist_nulls_for_each_entry_rcu (tpos, pos, head, member) \
include/uapi/linux/prctl.h +1 -1
@@ -170,7 +170,7 @@ struct prctl_mm_map {* asking selinux for a specific new context (e.g. with runcon) will result * in execve returning -EPERM. * -* See Documentation/prctl/no_new_privs.txt for more details. +* See Documentation/userspace-api/no_new_privs.rst for more details. */ #define PR_SET_NO_NEW_PRIVS 38#define PR_GET_NO_NEW_PRIVS 39
include/xen/interface/io/kbdif.h +1 -1
@@ -317,7 +317,7 @@ struct xenkbd_position {* Linux [2] and Windows [3] multi-touch support. * * [1] https://cgit.freedesktop.org/wayland/wayland/tree/protocol/wayland.xml -* [2] https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt +* [2] https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.rst * [3] https://msdn.microsoft.com/en-us/library/jj151564(v=vs.85).aspx * *
kernel/cgroup/cpuset.c +1 -1
@@ -605,7 +605,7 @@ static inline int nr_cpusets(void)* load balancing domains (sched domains) as specified by that partial * partition. * -* See "What is sched_load_balance" in Documentation/cgroups/cpusets.txt +* See "What is sched_load_balance" in Documentation/cgroup-v1/cpusets.txt * for a background explanation of this. * * Does not return errors, on the theory that the callers of this
kernel/trace/Kconfig +8 -8
@@ -12,22 +12,22 @@ config NOP_TRACER config HAVE_FTRACE_NMI_ENTER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FUNCTION_TRACER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FUNCTION_GRAPH_TRACER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_DYNAMIC_FTRACE bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_DYNAMIC_FTRACE_WITH_REGS bool
@@ -35,12 +35,12 @@ config HAVE_DYNAMIC_FTRACE_WITH_REGS config HAVE_FTRACE_MCOUNT_RECORD bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_SYSCALL_TRACEPOINTS bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FENTRY bool
@@ -452,7 +452,7 @@ config KPROBE_EVENTS help This allows the user to add tracing events (similar to tracepoints) on the fly via the ftrace interface. See - Documentation/trace/kprobetrace.txt for more details. + Documentation/trace/kprobetrace.rst for more details. Those events can be inserted wherever kprobes can probe, and record various register and memory values.
@@ -579,7 +579,7 @@ config MMIOTRACE implementation and works via page faults. Tracing is disabled by default and can be enabled at run-time. - See Documentation/trace/mmiotrace.txt. + See Documentation/trace/mmiotrace.rst. If you are not helping to develop drivers, say N. config TRACING_MAP
lib/Kconfig +1 -1
@@ -405,7 +405,7 @@ config ASSOCIATIVE_ARRAY See: - Documentation/assoc_array.txt + Documentation/core-api/assoc_array.rst for more information.
security/selinux/hooks.c +1 -1
@@ -4697,7 +4697,7 @@ static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, in }/* This supports connect(2) and SCTP connect services such as sctp_connectx(3) -* and sctp_sendmsg(3) as described in Documentation/security/LSM-sctp.txt +* and sctp_sendmsg(3) as described in Documentation/security/LSM-sctp.rst */ static int selinux_socket_connect_helper (struct socket *sock,struct sockaddr *address,int addrlen)
sound/core/Kconfig +2 -2
@@ -48,7 +48,7 @@ config SND_MIXER_OSS depends on SND_OSSEMUL help To enable OSS mixer API emulation (/dev/mixer*), say Y here - and read <file:Documentation/sound/alsa/OSS-Emulation.txt>. + and read <file:Documentation/sound/designs/oss-emulation.rst>. Many programs still use the OSS API, so say Y.
@@ -61,7 +61,7 @@ config SND_PCM_OSS select SND_PCM help To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y - here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>. + here and read <file:Documentation/sound/designs/oss-emulation.rst>. Many programs still use the OSS API, so say Y.
sound/drivers/Kconfig +2 -2
@@ -153,7 +153,7 @@ config SND_SERIAL_U16550 select SND_RAWMIDI help To include support for MIDI serial port interfaces, say Y here - and read <file:Documentation/sound/alsa/serial-u16550.txt>. + and read <file:Documentation/sound/cards/serial-u16550.rst>. This driver works with serial UARTs 16550 and better. This driver accesses the serial port hardware directly, so
@@ -223,7 +223,7 @@ config SND_AC97_POWER_SAVE the device frequently. A value of 10 seconds would be a good choice for normal operations. - See Documentation/sound/alsa/powersave.txt for more details. + See Documentation/sound/designs/powersave.rst for more details. config SND_AC97_POWER_SAVE_DEFAULT int "Default time-out for AC97 power-save mode"
sound/pci/Kconfig +5 -5
@@ -175,7 +175,7 @@ config SND_BT87X help If you want to record audio from TV cards based on Brooktree Bt878/Bt879 chips, say Y here and read - <file:Documentation/sound/alsa/Bt87x.txt>. + <file:Documentation/sound/cards/bt87x.rst>. To compile this driver as a module, choose M here: the module will be called snd-bt87x.
@@ -210,7 +210,7 @@ config SND_CMIPCI help If you want to use soundcards based on C-Media CMI8338, CMI8738, CMI8768 or CMI8770 chips, say Y here and read - <file:Documentation/sound/alsa/CMIPCI.txt>. + <file:Documentation/sound/cards/cmipci.rst>. To compile this driver as a module, choose M here: the module will be called snd-cmipci.
@@ -472,8 +472,8 @@ config SND_EMU10K1 Audigy and E-mu APS (partially supported) soundcards. The confusing multitude of mixer controls is documented in - <file:Documentation/sound/alsa/SB-Live-mixer.txt> and - <file:Documentation/sound/alsa/Audigy-mixer.txt>. + <file:Documentation/sound/cards/sb-live-mixer.rst> and + <file:Documentation/sound/cards/audigy-mixer.rst>. To compile this driver as a module, choose M here: the module will be called snd-emu10k1.
@@ -735,7 +735,7 @@ config SND_MIXART select SND_PCM help If you want to use Digigram miXart soundcards, say Y here and - read <file:Documentation/sound/alsa/MIXART.txt>. + read <file:Documentation/sound/cards/mixart.rst>. To compile this driver as a module, choose M here: the module will be called snd-mixart.
tools/include/uapi/linux/prctl.h +1 -1
@@ -170,7 +170,7 @@ struct prctl_mm_map {* asking selinux for a specific new context (e.g. with runcon) will result * in execve returning -EPERM. * -* See Documentation/prctl/no_new_privs.txt for more details. +* See Documentation/userspace-api/no_new_privs.rst for more details. */ #define PR_SET_NO_NEW_PRIVS 38#define PR_GET_NO_NEW_PRIVS 39
tools/lib/api/fs/fs.c +1 -1
@@ -201,7 +201,7 @@ static void mem_toupper(char *f, size_t len)/* * Check for "NAME_PATH" environment variable to override fs location (for -* testing). This matches the recommendation in Documentation/sysfs-rules.txt +* testing). This matches the recommendation in Documentation/admin-guide/sysfs-rules.rst * for SYSFS_PATH. */ static bool fs__env_override (struct fs *fs)
tools/memory-model/README +5 -5
@@ -101,16 +101,16 @@ for more information. DESCRIPTION OF FILES ==================== -Documentation/cheatsheet.txt +tools/memory-model/Documentation/cheatsheet.txt Quick-reference guide to the Linux-kernel memory model. -Documentation/explanation.txt +tools/memory-model/Documentation/explanation.txt Describes the memory model in detail. -Documentation/recipes.txt +tools/memory-model/Documentation/recipes.txt Lists common memory-ordering patterns. -Documentation/references.txt +tools/memory-model/Documentation/references.txt Provides background reading. linux-kernel.bell
@@ -167,7 +167,7 @@ The Linux-kernel memory model has the following limitations: of READ_ONCE() and WRITE_ONCE() limits the compiler's ability to optimize, but there is Linux-kernel code that uses bare C memory accesses. Handling this code is on the to-do list. - For more information, see Documentation/explanation.txt (in + For more information, see tools/memory-model/Documentation/explanation.txt (in particular, the "THE PROGRAM ORDER RELATION: po AND po-loc" and "A WARNING" sections).
tools/perf/util/bpf-prologue.c +1 -1
@@ -61,7 +61,7 @@ check_pos(struct bpf_insn_pos *pos)/* * Convert type string (u8/u16/u32/u64/s8/s16/s32/s64 ..., see -* Documentation/trace/kprobetrace.txt) to size field of BPF_LDX_MEM +* Documentation/trace/kprobetrace.rst) to size field of BPF_LDX_MEM * instruction (BPF_{B,H,W,DW}). */ static int
tools/power/pm-graph/config/custom-timeline-functions.cfg +2 -2
@@ -105,7 +105,7 @@ override-dev-timeline-functions: true # example: [color=#CC00CC] # # arglist: A list of arguments from registers/stack addresses. See URL: -# https://www.kernel.org/doc/Documentation/trace/kprobetrace.txt +# https://www.kernel.org/doc/Documentation/trace/kprobetrace.rst # # example: cpu=%di:s32 #
@@ -170,7 +170,7 @@ pm_restore_console: # example: [color=#CC00CC] # # arglist: A list of arguments from registers/stack addresses. See URL: -# https://www.kernel.org/doc/Documentation/trace/kprobetrace.txt +# https://www.kernel.org/doc/Documentation/trace/kprobetrace.rst # # example: port=+36(%di):s32 #
Signature · 6 lines
2.17.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Andrea Parri
maintainerRe: [PATCH v2 09/11] docs: Fix some broken references
Quoted 8 lines · Mauro Carvalho Chehab
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
Thank you again for doing this,
Quoted 65 lines
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++--------
Quoted 8 lines
lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +- tools/memory-model/README | 10 +++++-----
As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files in tools/memory-model/, relatively to that directory.
Andrea
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:
Quoted 87 lines · Mauro Carvalho Chehab
Quoted 8 lines
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>Thank you again for doing this,
Quoted 72 lines
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +-
Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.
Yeah, at least this hunk deserves some rework, as now some references are Documentation/.../foo, while others are just bar.
As on (almost) all other places (except for tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:
${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to tools/memory-model/README seems overkill).
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
Regards,
Mauro
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Alan Stern
maintainerRe: [PATCH v2 09/11] docs: Fix some broken references
Quoted 25 lines · Mauro Carvalho Chehab
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txt
Quoted 8 lines
A bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like Documentation/recipes.txt becomes ./Documentation/recipes.txt?
Alan Stern
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
Em Wed, 9 May 2018 15:11:07 -0400 (EDT)
Alan Stern <[email protected]> escreveu:
Quoted 32 lines · Mauro Carvalho Chehab
Quoted 31 lines
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).
Quoted 6 lines
Quoted 3 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like
Documentation/recipes.txtbecomes./Documentation/recipes.txt?
Sounds a good idea to me. Andrea?
Thanks,
Mauro
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Andrea Parri
maintainerRe: [PATCH v2 09/11] docs: Fix some broken references
Quoted 35 lines · Mauro Carvalho Chehab
Em Wed, 9 May 2018 15:11:07 -0400 (EDT)
Alan Stern <[email protected]> escreveu:Quoted 32 lines · Mauro Carvalho Chehab
Quoted 31 lines
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like
Documentation/recipes.txtbecomes./Documentation/recipes.txt?Sounds a good idea to me. Andrea?
Counterintuitive ;-) Documentation/abc.txt vs. ./Documentation/abc.txt But let me sleep over this ;-) for the time being, I renew my vote for "just don't commit these changes (and keep checking automated changes)".
Andrea
Quoted 3 lines
Thanks,
Mauro
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Alan SternEm Wed, 9 May 2018 15:11:07 -0400 (EDT)
Alan Stern <[email protected]> escreveu:
Quoted 32 lines · Mauro Carvalho Chehab
Quoted 31 lines
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).
Quoted 6 lines
Quoted 3 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like
Documentation/recipes.txtbecomes./Documentation/recipes.txt?
Sounds a good idea to me. Andrea?
Thanks,
Mauro
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Alan SternEm Wed, 9 May 2018 15:11:07 -0400 (EDT)
Alan Stern <[email protected]> escreveu:
Quoted 32 lines · Mauro Carvalho Chehab
Quoted 31 lines
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).
Quoted 6 lines
Quoted 3 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like
Documentation/recipes.txtbecomes./Documentation/recipes.txt?
Thanks,
Mauro
After thinking a little bit about that, it should be easy to fix the tool to consider references relative to tools/.*/Documentation.
I intend to send a new patch series with the changes to tools/memory-model/README removed from this patch and with the enclosed patch on it.
Regards,
Mauro
[PATCH] scripts/documentation-file-ref-check: check
tools/*/Documentation
Some files, like tools/memory-model/README has references to a Documentation file that is locale to it. Handle references that are relative to them too.
scripts/documentation-file-ref-check +7 -0
@@ -78,6 +78,13 @@ while (<IN>) { # Check if exists, evaluating wildcards next if (grep -e, glob("$ref $fulref")); + # Accept relative Documentation patches for tools/ + if ($f =~ m/tools/) { + my $path = $f; + $path =~ s,(.*)/.*,$1,; + next if (grep -e, glob("$path/$ref $path/$fulref")); + } + if ($fix) { if (!($ref =~ m/(scripts|Kconfig|Kbuild)/)) { $broken_ref{$ref}++;
Andrea Parri
maintainerRe: [PATCH v2 09/11] docs: Fix some broken references
Quoted 45 lines · Mauro Carvalho Chehab
Em Wed, 9 May 2018 15:11:07 -0400 (EDT)
Alan Stern <[email protected]> escreveu:Quoted 32 lines · Mauro Carvalho Chehab
Quoted 31 lines
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).Quoted 6 lines
Quoted 3 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
How about changing the relative references so that something like
Documentation/recipes.txtbecomes./Documentation/recipes.txt?Thanks,
Mauro
Quoted 6 lines
After thinking a little bit about that, it should be easy to fix the tool to consider references relative to
tools/.*/Documentation.I intend to send a new patch series with the changes to
tools/memory-model/READMEremoved from this patch and with the enclosed patch on it.
LGTM, thanks!
Andrea
Quoted 21 lines
Regards,
Mauro[PATCH]
scripts/documentation-file-ref-check: check
tools/*/DocumentationSome files, like
tools/memory-model/READMEhas references to a Documentation file that is locale to it. Handle references that are relative to them too.Signed-off-by Mauro Carvalho Chehab <[email protected]>scripts/documentation-file-ref-check +0
-0@@ -78,6 +78,13 @@ while (<IN>) { # Check if exists, evaluating wildcards next if (grep -e, glob("$ref $fulref"));
scripts/documentation-file-ref-check while (<IN>) { · line 90
Quoted 10 lines
scripts/documentation-file-ref-check +7
-0+ # Accept relative Documentation patches for tools/ + if ($f =~ m/tools/) { + my $path = $f; + $path =~ s,(.*)/.*,$1,; + next if (grep -e, glob("$path/$ref $path/$fulref")); + } + if ($fix) { if (!($ref =~ m/(scripts|Kconfig|Kbuild)/)) { $broken_ref{$ref}++;
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Andrea Parri
maintainerRe: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 100 lines · Mauro Carvalho Chehab
Em Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:Quoted 87 lines · Mauro Carvalho Chehab
Quoted 8 lines
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>Thank you again for doing this,
Quoted 72 lines
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +-Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.Yeah, at least this hunk deserves some rework, as now some references are
Documentation/.../foo, while others are just bar.
Quoted 5 lines
As on (almost) all other places (except for
tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:
Actually, another place is (consistently):
tools/memory-model/litmus-tests/README
Sorry, but we are not going to replace:
ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
with
tools/memory-model/litmus-tests/README/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus
or
${LINUX}/tools/memory-model/litmus-tests/README/ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus(for the obvious reason; and if you're thinking at "just rename the test"
I anticipate a long discussion on naming schemes and related tools ...).
Andrea
Quoted 12 lines
${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to
tools/memory-model/READMEseems overkill).
Quoted 6 lines
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
Regards,
Mauro
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Andrea ParriEm Wed, 9 May 2018 19:15:01 +0200
Andrea Parri <[email protected]> escreveu:
Quoted 87 lines · Mauro Carvalho Chehab
Quoted 8 lines
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>Thank you again for doing this,
Quoted 72 lines
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +-
Quoted 5 lines
Quoted 1 line
tools/memory-model/README | 10 +++++-----As mentioned in the previous thread, I am for keeping the current
references: the REAMDE is listing the doc files, as well as other files intools/memory-model/, relatively to that directory.
Yeah, at least this hunk deserves some rework, as now some references are Documentation/.../foo, while others are just bar.
As on (almost) all other places (except for tools/memory-model/README), the references are always from the main directory, I would make all patches there also relative to main dir. If you're afraid of not being too clearer, we could prefix all of them with something like:
${LINUX}/tools/memory-model/...just like some DT binding files do:
Documentation/devicetree/bindings/sound/audio-graph-card.txt:see ${LINUX}/Documentation/devicetree/bindings/graph.txtA bonus of doing that is that the broken reference detect script can keep parsing it without changes (well, it wouldn't be hard to make it also accept a relative file, but doing that just due to tools/memory-model/README seems overkill).
Another advantage is that it would allow to easily add references there from the main kernel Documentation, if needed in the future, without messing with local x non-local relative namespace.
Regards,
Mauro
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 9 lines · Mauro Carvalho Chehab
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
For sound stuff, feel free to take my ack (if it's not too late):
thanks,
Takashi
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 9 lines · Mauro Carvalho Chehab
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
For sound stuff, feel free to take my ack (if it's not too late):
thanks,
Takashi
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 6 lines · On Wed, 9 May 2018 10:18:52 -0300 Mauro Carvalho Chehab…
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
The part of kprobes and trace_kprobe changes look good to me :)
Thank you,
Quoted 79 lines
Signed-off-by Mauro Carvalho Chehab <[email protected]>--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +- tools/memory-model/README | 10 +++++----- tools/perf/util/bpf-prologue.c | 2 +- .../config/custom-timeline-functions.cfg | 4 ++-- 74 files changed, 120 insertions(+), 120 deletions(-)
Signature · 5 lines
Masami Hiramatsu <[email protected]> _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 6 lines · On Wed, 9 May 2018 10:18:52 -0300 Mauro Carvalho Chehab…
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
The part of kprobes and trace_kprobe changes look good to me :)
Thank you,
Quoted 79 lines
Signed-off-by Mauro Carvalho Chehab <[email protected]>--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +- tools/memory-model/README | 10 +++++----- tools/perf/util/bpf-prologue.c | 2 +- .../config/custom-timeline-functions.cfg | 4 ++-- 74 files changed, 120 insertions(+), 120 deletions(-)
Signature · 6 lines
Masami Hiramatsu <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoting Mauro Carvalho Chehab (2018-05-09 06:18:52)
Quoted 4 lines
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rst
Quoted 8 lines
Manually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>---
drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +-
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 10 lines · Mauro Carvalho Chehab
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>--- drivers/input/touchscreen/wm97xx-core.c | 2 +-
Thanks,
Charles
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH v2 09/11] docs: Fix some broken references
In reply to Mauro Carvalho ChehabQuoted 16 lines · Mauro Carvalho Chehab
As we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rstManually checked if the produced result is valid, removing a few false-positives.
Signed-off-by Mauro Carvalho Chehab <[email protected]>---
Documentation/trace/coresight.txt +0
-0
Documentation/trace/coresight.txt root@genericarmv8:~# · line 430
Quoted 6 lines
Documentation/trace/coresight.txt +1
-1@@ -426,5 +426,5 @@ root@genericarmv8:~# Details on how to use the generic STM API can be found here [2]. [1]. Documentation/ABI/testing/sysfs-bus-coresight-devices-stm -[2]. Documentation/trace/stm.txt +[2]. Documentation/trace/stm.rst [3]. https://github.com/Linaro/perf-opencsd
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH v2 9/11 docs: Fix some broken references
In reply to Mauro Carvalho ChehabAs we move stuff around, some doc references are broken. Fix some of them via this script:
./scripts/documentation-file-ref-check --fix-rst
Manually checked if the produced result is valid, removing a few false-positives.
--- .../admin-guide/kernel-parameters.txt | 4 ++-- .../bindings/input/rotary-encoder.txt | 2 +- Documentation/driver-api/gpio/consumer.rst | 2 +- Documentation/kprobes.txt | 4 ++-- Documentation/trace/coresight.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/ftrace-uses.rst | 2 +- Documentation/trace/histogram.txt | 2 +- Documentation/trace/intel_th.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 6 +++--- Documentation/translations/ja_JP/howto.rst | 4 ++-- .../translations/zh_CN/magic-number.txt | 4 ++-- .../zh_CN/video4linux/omap3isp.txt | 4 ++-- MAINTAINERS | 20 +++++++++---------- arch/Kconfig | 2 +- arch/arm/include/asm/cacheflush.h | 2 +- arch/arm64/include/asm/cacheflush.h | 2 +- arch/microblaze/include/asm/cacheflush.h | 2 +- arch/um/Kconfig.um | 2 +- arch/unicore32/include/asm/cacheflush.h | 2 +- arch/x86/entry/vsyscall/vsyscall_64.c | 2 +- arch/xtensa/include/asm/cacheflush.h | 4 ++-- block/Kconfig | 2 +- certs/Kconfig | 2 +- crypto/asymmetric_keys/asymmetric_type.c | 2 +- crypto/asymmetric_keys/signature.c | 2 +- drivers/char/Kconfig | 2 +- drivers/clk/clk.c | 4 ++-- drivers/clk/ingenic/cgu.h | 2 +- drivers/gpu/vga/Kconfig | 2 +- drivers/gpu/vga/vgaarb.c | 2 +- drivers/input/joystick/Kconfig | 10 +++++----- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/joystick/walkera0701.c | 2 +- drivers/input/misc/Kconfig | 4 ++-- drivers/input/misc/rotary_encoder.c | 2 +- drivers/input/mouse/Kconfig | 6 +++--- drivers/input/mouse/alps.c | 2 +- drivers/input/touchscreen/wm97xx-core.c | 2 +- drivers/lightnvm/pblk-rb.c | 2 +- drivers/md/bcache/Kconfig | 2 +- drivers/md/bcache/btree.c | 2 +- drivers/md/bcache/extents.c | 2 +- drivers/media/dvb-core/dvb_ringbuffer.c | 2 +- drivers/media/pci/meye/Kconfig | 2 +- drivers/media/platform/pxa_camera.c | 4 ++-- .../soc_camera/sh_mobile_ceu_camera.c | 2 +- drivers/media/radio/Kconfig | 2 +- drivers/media/radio/si470x/Kconfig | 2 +- drivers/media/usb/dvb-usb-v2/lmedm04.c | 2 +- drivers/media/usb/zr364xx/Kconfig | 2 +- drivers/parport/Kconfig | 6 +++--- drivers/staging/media/bcm2048/TODO | 2 +- include/keys/asymmetric-subtype.h | 2 +- include/keys/asymmetric-type.h | 2 +- include/linux/assoc_array.h | 2 +- include/linux/assoc_array_priv.h | 2 +- include/linux/circ_buf.h | 2 +- include/linux/ftrace.h | 2 +- include/linux/rculist_nulls.h | 2 +- include/uapi/linux/prctl.h | 2 +- include/xen/interface/io/kbdif.h | 2 +- kernel/cgroup/cpuset.c | 2 +- kernel/trace/Kconfig | 16 +++++++-------- lib/Kconfig | 2 +- security/selinux/hooks.c | 2 +- sound/core/Kconfig | 4 ++-- sound/drivers/Kconfig | 4 ++-- sound/pci/Kconfig | 10 +++++----- tools/include/uapi/linux/prctl.h | 2 +- tools/lib/api/fs/fs.c | 2 +- tools/memory-model/README | 10 +++++----- tools/perf/util/bpf-prologue.c | 2 +- .../config/custom-timeline-functions.cfg | 4 ++-- 74 files changed, 120 insertions(+), 120 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +2 -2
@@ -4259,7 +4259,7 @@ [FTRACE] Set and start specified trace events in order to facilitate early boot debugging. The event-list is a comma separated list of trace events to enable. See - also Documentation/trace/events.txt + also Documentation/trace/events.rst trace_options=[option-list] [FTRACE] Enable or disable tracer options at boot.
@@ -4274,7 +4274,7 @@ trace_options=stacktrace - See also Documentation/trace/ftrace.txt "trace options" + See also Documentation/trace/ftrace.rst "trace options" section. tp_printk[FTRACE]
Documentation/devicetree/bindings/input/rotary-encoder.txt +1 -1
@@ -28,7 +28,7 @@ Deprecated properties: This property is deprecated. Instead, a 'steps-per-period ' value should be used, such as "rotary-encoder,steps-per-period = <2>". -See Documentation/input/rotary-encoder.txt for more information. +See Documentation/input/devices/rotary-encoder.rst for more information. Example:
Documentation/driver-api/gpio/consumer.rst +1 -1
@@ -57,7 +57,7 @@ device that displays digits), an additional index argument can be specified:: enum gpiod_flags flags) For a more detailed description of the con_id parameter in the DeviceTree case -see Documentation/gpio/board.txt +see Documentation/driver-api/gpio/board.rst The flags parameter is used to optionally specify a direction and initial value for the GPIO. Values can be:
Documentation/kprobes.txt +2 -2
@@ -724,8 +724,8 @@ migrate your tool to one of the following options: See following documents: - - Documentation/trace/kprobetrace.txt - - Documentation/trace/events.txt + - Documentation/trace/kprobetrace.rst + - Documentation/trace/events.rst - tools/perf/Documentation/perf-probe.txt
Documentation/trace/coresight.txt +1 -1
@@ -426,5 +426,5 @@ root@genericarmv8:~# Details on how to use the generic STM API can be found here [2]. [1]. Documentation/ABI/testing/sysfs-bus-coresight-devices-stm -[2]. Documentation/trace/stm.txt +[2]. Documentation/trace/stm.rst [3]. https://github.com/Linaro/perf-opencsd
Documentation/trace/events.rst +1 -1
@@ -338,7 +338,7 @@ used for conditionally invoking triggers. The syntax for event triggers is roughly based on the syntax for set_ftrace_filter 'ftrace filter commands' (see the 'Filter commands' -section of Documentation/trace/ftrace.txt), but there are major +section of Documentation/trace/ftrace.rst), but there are major differences and the implementation isn't currently tied to it in any way, so beware about making generalizations between the two.
Documentation/trace/ftrace-uses.rst +1 -1
@@ -199,7 +199,7 @@ If @buf is NULL and reset is set, all functions will be enabled for tracing. The @buf can also be a glob expression to enable all functions that match a specific pattern. -See Filter Commands in :file:`Documentation/trace/ftrace.txt`. +See Filter Commands in :file:`Documentation/trace/ftrace.rst`. To just trace the schedule function:
Documentation/trace/histogram.txt +1 -1
@@ -7,7 +7,7 @@ Histogram triggers are special event triggers that can be used to aggregate trace event data into histograms. For information on - trace events and event triggers, see Documentation/trace/events.txt. + trace events and event triggers, see Documentation/trace/events.rst. 2. Histogram Trigger Command
Documentation/trace/intel_th.rst +1 -1
@@ -38,7 +38,7 @@ description is at Documentation/ABI/testing/sysfs-bus-intel_th-devices-gth. STH registers an stm class device, through which it provides interface to userspace and kernelspace software trace sources. See -Documentation/trace/stm.txt for more information on that. +Documentation/trace/stm.rst for more information on that. MSU can be configured to collect trace data into a system memory buffer, which can later on be read from its device nodes via read() or
Documentation/trace/tracepoint-analysis.rst +3 -3
@@ -55,7 +55,7 @@ simple case of:: 3.1 System-Wide Event Enabling ------------------------------ -See Documentation/trace/events.txt for a proper description on how events +See Documentation/trace/events.rst for a proper description on how events can be enabled system-wide. A short example of enabling all events related to page allocation would look something like::
@@ -112,7 +112,7 @@ at that point. 3.4 Local Event Enabling ------------------------ -Documentation/trace/ftrace.txt describes how to enable events on a per-thread +Documentation/trace/ftrace.rst describes how to enable events on a per-thread basis using set_ftrace_pid. 3.5 Local Event Enablement with PCL
@@ -137,7 +137,7 @@ basis using PCL such as follows. 4. Event Filtering ================== -Documentation/trace/ftrace.txt covers in-depth how to filter events in +Documentation/trace/ftrace.rst covers in-depth how to filter events in ftrace. Obviously using grep and awk of trace_pipe is an option as well as any script reading trace_pipe.
Documentation/translations/ja_JP/howto.rst +2 -2
@@ -1,5 +1,5 @@ NOTE: -This is a version of Documentation/HOWTO translated into Japanese. +This is a version of Documentation/process/howto.rst translated into Japanese. This document is maintained by Tsugikazu Shibata <[email protected]> If you find any difference between this document and the original file or a problem with the translation, please contact the maintainer of this file.
@@ -109,7 +109,7 @@ [email protected] に送ることを勧めます。 ています。 カーネルに関して初めての人はここからスタートすると良い でしょう。 - :ref:`Documentation/Process/changes.rst <changes>` + :ref:`Documentation/process/changes.rst <changes>` このファイルはカーネルをうまく生成(訳注 build )し、走らせるのに最 小限のレベルで必要な数々のソフトウェアパッケージの一覧を示してい ます。
Documentation/translations/zh_CN/magic-number.txt +2 -2
@@ -1,4 +1,4 @@ -Chinese translated version of Documentation/magic-number.txt +Chinese translated version of Documentation/process/magic-number.rst If you have any comment or update to the content, please post to LKML directly. However, if you have problem communicating in English you can also ask the
@@ -7,7 +7,7 @@ translation is outdated or there is problem with translation. Chinese maintainer: Jia Wei Wei <[email protected]> --------------------------------------------------------------------- -Documentation/magic-number.txt的中文翻译 +Documentation/process/magic-number.rst的中文翻译 如果想评论或更新本文的内容,请直接发信到LKML。如果你使用英文交流有困难的话,也可 以向中文版维护者求助。如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。
Documentation/translations/zh_CN/video4linux/omap3isp.txt +2 -2
@@ -1,4 +1,4 @@ -Chinese translated version of Documentation/video4linux/omap3isp.txt +Chinese translated version of Documentation/media/v4l-drivers/omap3isp.rst If you have any comment or update to the content, please contact the original document maintainer directly. However, if you have a problem
@@ -11,7 +11,7 @@ Maintainer: Laurent Pinchart <[email protected]> David Cohen <[email protected]> Chinese maintainer: Fu Wei <[email protected]> --------------------------------------------------------------------- -Documentation/video4linux/omap3isp.txt 的中文翻译 +Documentation/media/v4l-drivers/omap3isp.rst 的中文翻译 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
MAINTAINERS +10 -10
@@ -3057,7 +3057,7 @@ M: Clemens Ladisch <[email protected]> L: [email protected] (moderated for non-subscribers) T: git git://git.alsa-project.org/alsa-kernel.git S: Maintained -F: Documentation/sound/alsa/Bt87x.txt +F: Documentation/sound/cards/bt87x.rst F: sound/pci/bt87x.c BT8XXGPIO DRIVER
@@ -3347,7 +3347,7 @@ M: David Howells <[email protected]> M: David Woodhouse <[email protected]> L: [email protected] S: Maintained -F: Documentation/module-signing.txt +F: Documentation/admin-guide/module-signing.rst F: certs/ F: scripts/sign-file.c F: scripts/extract-cert.c
@@ -6434,7 +6434,7 @@ L: [email protected] S: Maintained F: mm/hmm* F: include/linux/hmm* -F: Documentation/vm/hmm.txt +F: Documentation/vm/hmm.rst HOST AP DRIVER M: Jouni Malinen <[email protected]>
@@ -7314,7 +7314,7 @@ F: drivers/platform/x86/intel-wmi-thunderbolt.c INTEL(R) TRACE HUB M: Alexander Shishkin <[email protected]> S: Supported -F: Documentation/trace/intel_th.txt +F: Documentation/trace/intel_th.rst F: drivers/hwtracing/intel_th/ INTEL(R) TRUSTED EXECUTION TECHNOLOGY (TXT)
@@ -9559,7 +9559,7 @@ F: include/uapi/linux/mmc/ MULTIPLEXER SUBSYSTEM M: Peter Rosin <[email protected]> S: Maintained -F: Documentation/ABI/testing/mux/sysfs-class-mux* +F: Documentation/ABI/testing/sysfs-class-mux* F: Documentation/devicetree/bindings/mux/ F: include/linux/dt-bindings/mux/ F: include/linux/mux/
@@ -10115,7 +10115,7 @@ F: arch/powerpc/include/asm/pnv-ocxl.h F: drivers/misc/ocxl/ F: include/misc/ocxl* F: include/uapi/misc/ocxl.h -F: Documentation/accelerators/ocxl.txt +F: Documentation/accelerators/ocxl.rst OMAP AUDIO SUPPORT M: Peter Ujfalusi <[email protected]>
@@ -13624,7 +13624,7 @@ SYSTEM TRACE MODULE CLASS M: Alexander Shishkin <[email protected]> S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git -F: Documentation/trace/stm.txt +F: Documentation/trace/stm.rst F: drivers/hwtracing/stm/ F: include/linux/stm.h F: include/uapi/linux/stm.h
@@ -14305,7 +14305,7 @@ M: Steven Rostedt <[email protected]> M: Ingo Molnar <[email protected]> T: git git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core S: Maintained -F: Documentation/trace/ftrace.txt +F: Documentation/trace/ftrace.rst F: arch/*/*/*/ftrace.h F: arch/*/kernel/ftrace.c F: include/*/ftrace.h
@@ -14763,7 +14763,7 @@ M: Heikki Krogerus <[email protected]> L: [email protected] S: Maintained F: Documentation/ABI/testing/sysfs-class-typec -F: Documentation/usb/typec.rst +F: Documentation/driver-api/usb/typec.rst F: drivers/usb/typec/ F: include/linux/usb/typec.h
@@ -15565,7 +15565,7 @@ YEALINK PHONE DRIVER M: Henk Vergonet <[email protected]> L: [email protected] S: Maintained -F: Documentation/input/yealink.rst +F: Documentation/input/devices/yealink.rst F: drivers/input/misc/yealink.* Z8530 DRIVER FOR AX.25
arch/Kconfig +1 -1
@@ -399,7 +399,7 @@ config SECCOMP_FILTER in terms of Berkeley Packet Filter programs which implement task-defined system call filtering polices. - See Documentation/prctl/seccomp_filter.txt for details. + See Documentation/userspace-api/seccomp_filter.rst for details. config HAVE_GCC_PLUGINS bool
arch/arm/include/asm/cacheflush.h +1 -1
@@ -35,7 +35,7 @@* Start addresses are inclusive and end addresses are exclusive; * start addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. +* See Documentation/core-api/cachetlb.rst for more information. * Please note that the implementation of these, and the required * effects are cache-type (VIVT/VIPT/PIPT) specific. *
arch/arm64/include/asm/cacheflush.h +1 -1
@@ -36,7 +36,7 @@* Start addresses are inclusive and end addresses are exclusive; start * addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. Please note that +* See Documentation/core-api/cachetlb.rst for more information. Please note that * the implementation assumes non-aliasing VIPT D-cache and (aliasing) * VIPT I-cache. *
arch/microblaze/include/asm/cacheflush.h +1 -1
@@ -19,7 +19,7 @@#include <linux/mm.h> #include <linux/io.h> -/* Look at Documentation/cachetlb.txt */ +/* Look at Documentation/core-api/cachetlb.rst */ /* * Cache handling functions.
arch/um/Kconfig.um +1 -1
@@ -80,7 +80,7 @@ config MAGIC_SYSRQ On UML, this is accomplished by sending a "sysrq" command with mconsole, followed by the letter for the requested command. - The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y + The keys are documented in <file:Documentation/admin-guide/sysrq.rst>. Don't say Y unless you really know what this hack does. config KERNEL_STACK_ORDER
arch/unicore32/include/asm/cacheflush.h +1 -1
@@ -33,7 +33,7 @@* Start addresses are inclusive and end addresses are exclusive; * start addresses should be rounded down, end addresses up. * -* See Documentation/cachetlb.txt for more information. +* See Documentation/core-api/cachetlb.rst for more information. * Please note that the implementation of these, and the required * effects are cache-type (VIVT/VIPT/PIPT) specific. *
arch/x86/entry/vsyscall/vsyscall_64.c +1 -1
@@ -201,7 +201,7 @@ bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)/* * Handle seccomp. regs->ip must be the original value. -* See seccomp_send_sigsys and Documentation/prctl/seccomp_filter.txt. +* See seccomp_send_sigsys and Documentation/userspace-api/seccomp_filter.rst. * * We could optimize the seccomp disabled case, but performance * here doesn't matter.
arch/xtensa/include/asm/cacheflush.h +2 -2
@@ -88,7 +88,7 @@ static inline void __invalidate_icache_page_alias(unsigned long virt,* * Pages can get remapped. Because this might change the 'color' of that page, * we have to flush the cache before the PTE is changed. -* (see also Documentation/cachetlb.txt) +* (see also Documentation/core-api/cachetlb.rst) */ #if defined(CONFIG_MMU) && \
@@ -152,7 +152,7 @@ void local_flush_cache_page(struct vm_area_struct *vma,__invalidate_icache_range (start,(end) - (start)); \ }while (0 ) -/* This is not required, see Documentation/cachetlb.txt */ +/* This is not required, see Documentation/core-api/cachetlb.rst */#define flush_icache_page (vma,page) do { } while (0)#define flush_dcache_mmap_lock (mapping) do { } while (0)
block/Kconfig +1 -1
@@ -114,7 +114,7 @@ config BLK_DEV_THROTTLING one needs to mount and use blkio cgroup controller for creating cgroups and specifying per device IO rate policies. - See Documentation/cgroups/blkio-controller.txt for more information. + See Documentation/cgroup-v1/blkio-controller.txt for more information. config BLK_DEV_THROTTLING_LOW bool "Block throttling .low limit interface support (EXPERIMENTAL)"
certs/Kconfig +1 -1
@@ -13,7 +13,7 @@ config MODULE_SIG_KEY If this option is unchanged from its default "certs/signing_key.pem", then the kernel will automatically generate the private key and - certificate as described in Documentation/module-signing.txt + certificate as described in Documentation/admin-guide/module-signing.rst config SYSTEM_TRUSTED_KEYRING bool "Provide system-wide ring of trusted keys"
crypto/asymmetric_keys/asymmetric_type.c +1 -1
@@ -1,6 +1,6 @@/* Asymmetric public-key cryptography key type * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
crypto/asymmetric_keys/signature.c +1 -1
@@ -1,6 +1,6 @@/* Signature verification with an asymmetric key * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
drivers/char/Kconfig +1 -1
@@ -81,7 +81,7 @@ config PRINTER corresponding drivers into the kernel. To compile this driver as a module, choose M here and read - <file:Documentation/parport.txt>. The module will be called lp. + <file:Documentation/admin-guide/parport.rst>. The module will be called lp. If you have several parallel ports, you can specify which ports to use with the "lp" kernel command line option. (Try "man bootparam"
drivers/clk/clk.c +2 -2
@@ -6,7 +6,7 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * -* Standard functionality for the common clock API. See Documentation/clk.txt +* Standard functionality for the common clock API. See Documentation/driver-api/clk.rst */ #include <linux/clk.h>
@@ -2827,7 +2827,7 @@ static int __clk_core_init(struct clk_core *core) goto out; } -/* check that clk_ops are sane. See Documentation/clk.txt */ +/* check that clk_ops are sane. See Documentation/driver-api/clk.rst */ if (core->ops->set_rate && !((core->ops->round_rate || core->ops->determine_rate) && core->ops->recalc_rate)) {
drivers/clk/ingenic/cgu.h +1 -1
@@ -190,7 +190,7 @@ struct ingenic_cgu {/** * struct ingenic_clk - private data for a clock -* @hw: see Documentation/clk.txt +* @hw: see Documentation/driver-api/clk.rst * @cgu: a pointer to the CGU data * @idx: the index of this clock in cgu->clock_info */
drivers/gpu/vga/Kconfig +1 -1
@@ -6,7 +6,7 @@ config VGA_ARB Some "legacy" VGA devices implemented on PCI typically have the same hard-decoded addresses as they did on ISA. When multiple PCI devices are accessed at same time they need some kind of coordination. Please - see Documentation/vgaarbiter.txt for more details. Select this to + see Documentation/gpu/vgaarbiter.rst for more details. Select this to enable VGA arbiter. config VGA_ARB_MAX_GPUS
drivers/gpu/vga/vgaarb.c +1 -1
@@ -1,6 +1,6 @@/* * vgaarb.c: Implements the VGA arbitration. For details refer to -* Documentation/vgaarbiter.txt +* Documentation/gpu/vgaarbiter.rst * * * (C) Copyright 2005 Benjamin Herrenschmidt <[email protected]>
drivers/input/joystick/Kconfig +5 -5
@@ -214,7 +214,7 @@ config JOYSTICK_DB9 gamepad, Sega Saturn gamepad, or a Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick connected to your parallel port. For more information on how to use the driver please read - <file:Documentation/input/joystick-parport.txt>. + <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called db9.
@@ -229,7 +229,7 @@ config JOYSTICK_GAMECON Sony PlayStation gamepad or a Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick connected to your parallel port. For more information on how to use the driver please read - <file:Documentation/input/joystick-parport.txt>. + <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called gamecon.
@@ -241,7 +241,7 @@ config JOYSTICK_TURBOGRAFX Say Y here if you have the TurboGraFX interface by Steffen Schwenke, and want to use it with Multisystem -- Atari, Amiga, Commodore, Amstrad CPC joystick. For more information on how to use the driver - please read <file:Documentation/input/joystick-parport.txt>. + please read <file:Documentation/input/devices/joystick-parport.rst>. To compile this driver as a module, choose M here: the module will be called turbografx.
@@ -287,7 +287,7 @@ config JOYSTICK_XPAD and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well. For information about how to connect the X-Box pad to USB, see - <file:Documentation/input/xpad.txt>. + <file:Documentation/input/devices/xpad.rst>. To compile this driver as a module, choose M here: the module will be called xpad.
@@ -313,7 +313,7 @@ config JOYSTICK_WALKERA0701 Say Y or M here if you have a Walkera WK-0701 transmitter which is supplied with a ready to fly Walkera helicopters such as HM36, HM37, HM60 and want to use it via parport as a joystick. More - information is available: <file:Documentation/input/walkera0701.txt> + information is available: <file:Documentation/input/devices/walkera0701.rst> To compile this driver as a module, choose M here: the module will be called walkera0701.
drivers/input/joystick/iforce/Kconfig +1 -1
@@ -28,5 +28,5 @@ config JOYSTICK_IFORCE_232 You will need an additional utility called inputattach, see <file:Documentation/input/joystick.txt> - and <file:Documentation/input/ff.txt>. + and <file:Documentation/input/ff.rst>.
drivers/input/joystick/walkera0701.c +1 -1
@@ -3,7 +3,7 @@* * Copyright (c) 2008 Peter Popovec * -* More about driver: <file:Documentation/input/walkera0701.txt> +* More about driver: <file:Documentation/input/devices/walkera0701.rst> */ /*
drivers/input/misc/Kconfig +2 -2
@@ -411,7 +411,7 @@ config INPUT_YEALINK usb sound driver, so you might want to enable that as well. For information about how to use these additional functions, see - <file:Documentation/input/yealink.txt>. + <file:Documentation/input/devices/yealink.rst>. To compile this driver as a module, choose M here: the module will be called yealink.
@@ -595,7 +595,7 @@ config INPUT_GPIO_ROTARY_ENCODER depends on GPIOLIB || COMPILE_TEST help Say Y here to add support for rotary encoders connected to GPIO lines. - Check file:Documentation/input/rotary-encoder.txt for more + Check file:Documentation/input/devices/rotary-encoder.rst for more information. To compile this driver as a module, choose M here: the
drivers/input/misc/rotary_encoder.c +1 -1
@@ -7,7 +7,7 @@* state machine code inspired by code from Tim Ruetz * * A generic driver for rotary encoders connected to GPIO lines. -* See file:Documentation/input/rotary-encoder.txt for more information +* See file:Documentation/input/devices/rotary-encoder.rst for more information * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as
drivers/input/mouse/Kconfig +3 -3
@@ -129,7 +129,7 @@ config MOUSE_PS2_ELANTECH This driver exposes some configuration registers via sysfs entries. For further information, - see <file:Documentation/input/elantech.txt>. + see <file:Documentation/input/devices/elantech.rst>. If unsure, say N.
@@ -216,7 +216,7 @@ config MOUSE_APPLETOUCH scrolling in X11. For further information, see - <file:Documentation/input/appletouch.txt>. + <file:Documentation/input/devices/appletouch.rst>. To compile this driver as a module, choose M here: the module will be called appletouch.
@@ -239,7 +239,7 @@ config MOUSE_BCM5974 The interface is currently identical to the appletouch interface, for further information, see - <file:Documentation/input/appletouch.txt>. + <file:Documentation/input/devices/appletouch.rst>. To compile this driver as a module, choose M here: the module will be called bcm5974.
drivers/input/mouse/alps.c +1 -1
@@ -212,7 +212,7 @@ static void alps_set_abs_params_v7(struct alps_data *priv,static void alps_set_abs_params_ss4_v2 (struct alps_data *priv,struct input_dev *dev1); -/* Packet formats are described in Documentation/input/alps.txt */ +/* Packet formats are described in Documentation/input/devices/alps.rst */ static bool alps_is_valid_first_byte (struct alps_data *priv,unsigned char data)
drivers/input/touchscreen/wm97xx-core.c +1 -1
@@ -68,7 +68,7 @@* The default values correspond to Mainstone II in QVGA mode * * Please read -* Documentation/input/input-programming.txt for more details. +* Documentation/input/input-programming.rst for more details. */ static int abs_x[3 ] = {150 ,4000 ,5 };
drivers/lightnvm/pblk-rb.c +1 -1
@@ -38,7 +38,7 @@ void pblk_rb_data_free(struct pblk_rb *rb)/* * Initialize ring buffer. The data and metadata buffers must be previously * allocated and their size must be a power of two -* (Documentation/circular-buffers.txt) +* (Documentation/core-api/circular-buffers.rst) */ int pblk_rb_init (struct pblk_rb *rb,struct pblk_rb_entry *rb_entry_base,unsigned int power_size,unsigned int power_seg_sz)
drivers/md/bcache/Kconfig +1 -1
@@ -5,7 +5,7 @@ config BCACHE Allows a block device to be used as cache for other devices; uses a btree for indexing and the layout is optimized for SSDs. - See Documentation/bcache.txt for details. + See Documentation/admin-guide/bcache.rst for details. config BCACHE_DEBUG bool "Bcache debugging"
drivers/md/bcache/btree.c +1 -1
@@ -18,7 +18,7 @@* as keys are inserted we only sort the pages that have not yet been written. * When garbage collection is run, we resort the entire node. * -* All configuration is done via sysfs; see Documentation/bcache.txt. +* All configuration is done via sysfs; see Documentation/admin-guide/bcache.rst. */ #include "bcache.h"
drivers/md/bcache/extents.c +1 -1
@@ -18,7 +18,7 @@* as keys are inserted we only sort the pages that have not yet been written. * When garbage collection is run, we resort the entire node. * -* All configuration is done via sysfs; see Documentation/bcache.txt. +* All configuration is done via sysfs; see Documentation/admin-guide/bcache.rst. */ #include "bcache.h"
drivers/media/dvb-core/dvb_ringbuffer.c +1 -1
@@ -55,7 +55,7 @@ int dvb_ringbuffer_empty(struct dvb_ringbuffer *rbuf)* this pairs with smp_store_release() in dvb_ringbuffer_write(), * dvb_ringbuffer_write_user(), or dvb_ringbuffer_reset() * -* for memory barriers also see Documentation/circular-buffers.txt +* for memory barriers also see Documentation/core-api/circular-buffers.rst */ return (rbuf->pread ==smp_load_acquire (&rbuf->pwrite)); }
drivers/media/pci/meye/Kconfig +1 -1
@@ -4,7 +4,7 @@ config VIDEO_MEYE ---help--- This is the video4linux driver for the Motion Eye camera found in the Vaio Picturebook laptops. Please read the material in - <file:Documentation/video4linux/meye.txt> for more information. + <file:Documentation/media/v4l-drivers/meye.rst> for more information. If you say Y or M here, you need to say Y or M to "Sony Laptop Extras" in the misc device section.
drivers/media/platform/pxa_camera.c +2 -2
@@ -1021,7 +1021,7 @@ static void pxa_camera_wakeup(struct pxa_camera_dev *pcdev,* - a videobuffer is queued on the pcdev->capture list * * Please check the "DMA hot chaining timeslice issue" in -* Documentation/video4linux/pxa_camera.txt +* Documentation/media/v4l-drivers/pxa_camera.rst * * Context: should only be called within the dma irq handler */
@@ -1443,7 +1443,7 @@ static void pxac_vb2_queue(struct vb2_buffer *vb)/* * Please check the DMA prepared buffer structure in : -* Documentation/video4linux/pxa_camera.txt +* Documentation/media/v4l-drivers/pxa_camera.rst * Please check also in pxa_camera_check_link_miss() to understand why DMA chain * modification while DMA chain is running will work anyway. */
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +1 -1
@@ -1111,7 +1111,7 @@ static void sh_mobile_ceu_put_formats(struct soc_camera_device *icd)/* * CEU can scale and crop, but we don't want to waste bandwidth and kill the * framerate by always requesting the maximum image from the client. See -* Documentation/video4linux/sh_mobile_ceu_camera.txt for a description of +* Documentation/media/v4l-drivers/sh_mobile_ceu_camera.rst for a description of * scaling and cropping algorithms and for the meaning of referenced here steps. */ static int sh_mobile_ceu_set_selection(struct soc_camera_device *icd,
drivers/media/radio/Kconfig +1 -1
@@ -274,7 +274,7 @@ config RADIO_RTRACK been reported to be used by these cards. More information is contained in the file - <file:Documentation/video4linux/radiotrack.txt>. + <file:Documentation/media/v4l-drivers/radiotrack.rst>. To compile this driver as a module, choose M here: the module will be called radio-aimslab.
drivers/media/radio/si470x/Kconfig +1 -1
@@ -15,7 +15,7 @@ config USB_SI470X Please have a look at the documentation, especially on how to redirect the audio stream from the radio to your sound device: - Documentation/video4linux/si470x.txt + Documentation/media/v4l-drivers/si470x.rst Say Y here if you want to connect this type of radio to your computer's USB port.
drivers/media/usb/dvb-usb-v2/lmedm04.c +1 -1
@@ -21,7 +21,7 @@* * LME2510C + M88RS2000 * -* For firmware see Documentation/dvb/lmedm04.txt +* For firmware see Documentation/media/dvb-drivers/lmedm04.rst * * I2C addresses: * 0xd0 - STV0288 - Demodulator
drivers/media/usb/zr364xx/Kconfig +1 -1
@@ -6,7 +6,7 @@ config USB_ZR364XX ---help--- Say Y here if you want to connect this type of camera to your computer's USB port. - See <file:Documentation/video4linux/zr364xx.txt> for more info + See <file:Documentation/media/v4l-drivers/zr364xx.rst> for more info and list of supported cameras. To compile this driver as a module, choose M here: the
drivers/parport/Kconfig +3 -3
@@ -20,7 +20,7 @@ menuconfig PARPORT drive, PLIP link (Parallel Line Internet Protocol is mainly used to create a mini network by connecting the parallel ports of two local machines) etc., then you need to say Y here; please read - <file:Documentation/parport.txt> and + <file:Documentation/admin-guide/parport.rst> and <file:drivers/parport/BUGS-parport>. For extensive information about drivers for many devices attaching
@@ -33,7 +33,7 @@ menuconfig PARPORT the module will be called parport. If you have more than one parallel port and want to specify which port and IRQ to be used by this driver at module load time, take a - look at <file:Documentation/parport.txt>. + look at <file:Documentation/admin-guide/parport.rst>. If unsure, say Y.
@@ -71,7 +71,7 @@ config PARPORT_PC_FIFO As well as actually having a FIFO, or DMA capability, the kernel will need to know which IRQ the parallel port has. By default, parallel port interrupts will not be used, and so neither will the - FIFO. See <file:Documentation/parport.txt> to find out how to + FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to specify which IRQ/DMA to use. config PARPORT_PC_SUPERIO
drivers/staging/media/bcm2048/TODO +1 -1
@@ -3,7 +3,7 @@ TODO: From the initial code review: The main thing you need to do is to implement all the controls using the -control framework (see Documentation/video4linux/v4l2-controls.txt). +control framework (see Documentation/media/kapi/v4l2-controls.rst). Most drivers are by now converted to the control framework, so you will find many examples of how to do this in drivers/media/radio.
include/keys/asymmetric-subtype.h +1 -1
@@ -1,6 +1,6 @@/* Asymmetric public-key cryptography key subtype * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/keys/asymmetric-type.h +1 -1
@@ -1,6 +1,6 @@/* Asymmetric Public-key cryptography key type interface * -* See Documentation/security/asymmetric-keys.txt +* See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/assoc_array.h +1 -1
@@ -1,6 +1,6 @@/* Generic associative array implementation. * -* See Documentation/assoc_array.txt for information. +* See Documentation/core-api/assoc_array.rst for information. * * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/assoc_array_priv.h +1 -1
@@ -1,6 +1,6 @@/* Private definitions for the generic associative array implementation. * -* See Documentation/assoc_array.txt for information. +* See Documentation/core-api/assoc_array.rst for information. * * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected])
include/linux/circ_buf.h +1 -1
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ /* -* See Documentation/circular-buffers.txt for more information. +* See Documentation/core-api/circular-buffers.rst for more information. */ #ifndef _LINUX_CIRC_BUF_H
include/linux/ftrace.h +1 -1
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0 */ /* * Ftrace header. For implementation details beyond the random comments -* scattered below, see: Documentation/trace/ftrace-design.txt +* scattered below, see: Documentation/trace/ftrace-design.rst */ #ifndef _LINUX_FTRACE_H
include/linux/rculist_nulls.h +1 -1
@@ -109,7 +109,7 @@ static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n,* * The barrier() is needed to make sure compiler doesn't cache first element [1], * as this loop can be restarted [2] -* [1] Documentation/atomic_ops.txt around line 114 +* [1] Documentation/core-api/atomic_ops.rst around line 114 * [2] Documentation/RCU/rculist_nulls.txt around line 146 */ #define hlist_nulls_for_each_entry_rcu (tpos, pos, head, member) \
include/uapi/linux/prctl.h +1 -1
@@ -170,7 +170,7 @@ struct prctl_mm_map {* asking selinux for a specific new context (e.g. with runcon) will result * in execve returning -EPERM. * -* See Documentation/prctl/no_new_privs.txt for more details. +* See Documentation/userspace-api/no_new_privs.rst for more details. */ #define PR_SET_NO_NEW_PRIVS 38#define PR_GET_NO_NEW_PRIVS 39
include/xen/interface/io/kbdif.h +1 -1
@@ -317,7 +317,7 @@ struct xenkbd_position {* Linux [2] and Windows [3] multi-touch support. * * [1] https://cgit.freedesktop.org/wayland/wayland/tree/protocol/wayland.xml -* [2] https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt +* [2] https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.rst * [3] https://msdn.microsoft.com/en-us/library/jj151564(v=vs.85).aspx * *
kernel/cgroup/cpuset.c +1 -1
@@ -605,7 +605,7 @@ static inline int nr_cpusets(void)* load balancing domains (sched domains) as specified by that partial * partition. * -* See "What is sched_load_balance" in Documentation/cgroups/cpusets.txt +* See "What is sched_load_balance" in Documentation/cgroup-v1/cpusets.txt * for a background explanation of this. * * Does not return errors, on the theory that the callers of this
kernel/trace/Kconfig +8 -8
@@ -12,22 +12,22 @@ config NOP_TRACER config HAVE_FTRACE_NMI_ENTER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FUNCTION_TRACER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FUNCTION_GRAPH_TRACER bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_DYNAMIC_FTRACE bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_DYNAMIC_FTRACE_WITH_REGS bool
@@ -35,12 +35,12 @@ config HAVE_DYNAMIC_FTRACE_WITH_REGS config HAVE_FTRACE_MCOUNT_RECORD bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_SYSCALL_TRACEPOINTS bool help - See Documentation/trace/ftrace-design.txt + See Documentation/trace/ftrace-design.rst config HAVE_FENTRY bool
@@ -452,7 +452,7 @@ config KPROBE_EVENTS help This allows the user to add tracing events (similar to tracepoints) on the fly via the ftrace interface. See - Documentation/trace/kprobetrace.txt for more details. + Documentation/trace/kprobetrace.rst for more details. Those events can be inserted wherever kprobes can probe, and record various register and memory values.
@@ -579,7 +579,7 @@ config MMIOTRACE implementation and works via page faults. Tracing is disabled by default and can be enabled at run-time. - See Documentation/trace/mmiotrace.txt. + See Documentation/trace/mmiotrace.rst. If you are not helping to develop drivers, say N. config TRACING_MAP
lib/Kconfig +1 -1
@@ -405,7 +405,7 @@ config ASSOCIATIVE_ARRAY See: - Documentation/assoc_array.txt + Documentation/core-api/assoc_array.rst for more information.
security/selinux/hooks.c +1 -1
@@ -4697,7 +4697,7 @@ static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, in }/* This supports connect(2) and SCTP connect services such as sctp_connectx(3) -* and sctp_sendmsg(3) as described in Documentation/security/LSM-sctp.txt +* and sctp_sendmsg(3) as described in Documentation/security/LSM-sctp.rst */ static int selinux_socket_connect_helper (struct socket *sock,struct sockaddr *address,int addrlen)
sound/core/Kconfig +2 -2
@@ -48,7 +48,7 @@ config SND_MIXER_OSS depends on SND_OSSEMUL help To enable OSS mixer API emulation (/dev/mixer*), say Y here - and read <file:Documentation/sound/alsa/OSS-Emulation.txt>. + and read <file:Documentation/sound/designs/oss-emulation.rst>. Many programs still use the OSS API, so say Y.
@@ -61,7 +61,7 @@ config SND_PCM_OSS select SND_PCM help To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y - here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>. + here and read <file:Documentation/sound/designs/oss-emulation.rst>. Many programs still use the OSS API, so say Y.
sound/drivers/Kconfig +2 -2
@@ -153,7 +153,7 @@ config SND_SERIAL_U16550 select SND_RAWMIDI help To include support for MIDI serial port interfaces, say Y here - and read <file:Documentation/sound/alsa/serial-u16550.txt>. + and read <file:Documentation/sound/cards/serial-u16550.rst>. This driver works with serial UARTs 16550 and better. This driver accesses the serial port hardware directly, so
@@ -223,7 +223,7 @@ config SND_AC97_POWER_SAVE the device frequently. A value of 10 seconds would be a good choice for normal operations. - See Documentation/sound/alsa/powersave.txt for more details. + See Documentation/sound/designs/powersave.rst for more details. config SND_AC97_POWER_SAVE_DEFAULT int "Default time-out for AC97 power-save mode"
sound/pci/Kconfig +5 -5
@@ -175,7 +175,7 @@ config SND_BT87X help If you want to record audio from TV cards based on Brooktree Bt878/Bt879 chips, say Y here and read - <file:Documentation/sound/alsa/Bt87x.txt>. + <file:Documentation/sound/cards/bt87x.rst>. To compile this driver as a module, choose M here: the module will be called snd-bt87x.
@@ -210,7 +210,7 @@ config SND_CMIPCI help If you want to use soundcards based on C-Media CMI8338, CMI8738, CMI8768 or CMI8770 chips, say Y here and read - <file:Documentation/sound/alsa/CMIPCI.txt>. + <file:Documentation/sound/cards/cmipci.rst>. To compile this driver as a module, choose M here: the module will be called snd-cmipci.
@@ -472,8 +472,8 @@ config SND_EMU10K1 Audigy and E-mu APS (partially supported) soundcards. The confusing multitude of mixer controls is documented in - <file:Documentation/sound/alsa/SB-Live-mixer.txt> and - <file:Documentation/sound/alsa/Audigy-mixer.txt>. + <file:Documentation/sound/cards/sb-live-mixer.rst> and + <file:Documentation/sound/cards/audigy-mixer.rst>. To compile this driver as a module, choose M here: the module will be called snd-emu10k1.
@@ -735,7 +735,7 @@ config SND_MIXART select SND_PCM help If you want to use Digigram miXart soundcards, say Y here and - read <file:Documentation/sound/alsa/MIXART.txt>. + read <file:Documentation/sound/cards/mixart.rst>. To compile this driver as a module, choose M here: the module will be called snd-mixart.
tools/include/uapi/linux/prctl.h +1 -1
@@ -170,7 +170,7 @@ struct prctl_mm_map {* asking selinux for a specific new context (e.g. with runcon) will result * in execve returning -EPERM. * -* See Documentation/prctl/no_new_privs.txt for more details. +* See Documentation/userspace-api/no_new_privs.rst for more details. */ #define PR_SET_NO_NEW_PRIVS 38#define PR_GET_NO_NEW_PRIVS 39
tools/lib/api/fs/fs.c +1 -1
@@ -201,7 +201,7 @@ static void mem_toupper(char *f, size_t len)/* * Check for "NAME_PATH" environment variable to override fs location (for -* testing). This matches the recommendation in Documentation/sysfs-rules.txt +* testing). This matches the recommendation in Documentation/admin-guide/sysfs-rules.rst * for SYSFS_PATH. */ static bool fs__env_override (struct fs *fs)
tools/memory-model/README +5 -5
@@ -101,16 +101,16 @@ for more information. DESCRIPTION OF FILES ==================== -Documentation/cheatsheet.txt +tools/memory-model/Documentation/cheatsheet.txt Quick-reference guide to the Linux-kernel memory model. -Documentation/explanation.txt +tools/memory-model/Documentation/explanation.txt Describes the memory model in detail. -Documentation/recipes.txt +tools/memory-model/Documentation/recipes.txt Lists common memory-ordering patterns. -Documentation/references.txt +tools/memory-model/Documentation/references.txt Provides background reading. linux-kernel.bell
@@ -167,7 +167,7 @@ The Linux-kernel memory model has the following limitations: of READ_ONCE() and WRITE_ONCE() limits the compiler's ability to optimize, but there is Linux-kernel code that uses bare C memory accesses. Handling this code is on the to-do list. - For more information, see Documentation/explanation.txt (in + For more information, see tools/memory-model/Documentation/explanation.txt (in particular, the "THE PROGRAM ORDER RELATION: po AND po-loc" and "A WARNING" sections).
tools/perf/util/bpf-prologue.c +1 -1
@@ -61,7 +61,7 @@ check_pos(struct bpf_insn_pos *pos)/* * Convert type string (u8/u16/u32/u64/s8/s16/s32/s64 ..., see -* Documentation/trace/kprobetrace.txt) to size field of BPF_LDX_MEM +* Documentation/trace/kprobetrace.rst) to size field of BPF_LDX_MEM * instruction (BPF_{B,H,W,DW}). */ static int
tools/power/pm-graph/config/custom-timeline-functions.cfg +2 -2
@@ -105,7 +105,7 @@ override-dev-timeline-functions: true # example: [color=#CC00CC] # # arglist: A list of arguments from registers/stack addresses. See URL: -# https://www.kernel.org/doc/Documentation/trace/kprobetrace.txt +# https://www.kernel.org/doc/Documentation/trace/kprobetrace.rst # # example: cpu=%di:s32 #
@@ -170,7 +170,7 @@ pm_restore_console: # example: [color=#CC00CC] # # arglist: A list of arguments from registers/stack addresses. See URL: -# https://www.kernel.org/doc/Documentation/trace/kprobetrace.txt +# https://www.kernel.org/doc/Documentation/trace/kprobetrace.rst # # example: port=+36(%di):s32 #
Signature · 7 lines
2.17.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH v2 10/11 arch/*: Kconfig: fix documentation for NMI watchdog
In reply to Mauro Carvalho ChehabChangeset 9919cba7ff71 ("watchdog: Update documentation") updated the documentation, removing the old nmi_watchdog.txt and adding a file with a new content.
Update Kconfig files accordingly.
--- arch/arm/Kconfig | 2 +- arch/parisc/Kconfig | 2 +- arch/sh/Kconfig | 2 +- arch/sparc/Kconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/Kconfig +1 -1
@@ -1305,7 +1305,7 @@ config SMP will run faster if you say N here. See also <file:Documentation/x86/i386/IO-APIC.txt>, - <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at + <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO available at <http://tldp.org/HOWTO/SMP-HOWTO.html>. If you don't know what to do here, say N.
arch/parisc/Kconfig +1 -1
@@ -279,7 +279,7 @@ config SMP machines, but will use only one CPU of a multiprocessor machine. On a uniprocessor machine, the kernel will run faster if you say N. - See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO + See also <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. If you don't know what to do here, say N.
arch/sh/Kconfig +1 -1
@@ -689,7 +689,7 @@ config SMP People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. - See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO + See also <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. If you don't know what to do here, say N.
arch/sparc/Kconfig +1 -1
@@ -189,7 +189,7 @@ config SMP Y to "Enhanced Real Time Clock Support", below. The "Advanced Power Management" code will be disabled if you say Y here. - See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO + See also <file:Documentation/lockup-watchdogs.txt> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. If you don't know what to do here, say N.
Signature · 1 line
2.17.0
PATCH v2 11/11 docs: fix broken references with multiple hints
In reply to Mauro Carvalho ChehabThe script:
./scripts/documentation-file-ref-check --fix-rst
Gives multiple hints for broken references on some files. Manually use the one that applies for some files.
--- Documentation/ABI/obsolete/sysfs-gpio | 2 +- .../devicetree/bindings/display/bridge/tda998x.txt | 2 +- Documentation/trace/events.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 2 +- Documentation/translations/zh_CN/SubmittingDrivers | 2 +- Documentation/translations/zh_CN/gpio.txt | 4 ++-- MAINTAINERS | 2 +- drivers/hid/usbhid/Kconfig | 2 +- drivers/input/Kconfig | 4 ++-- drivers/input/joystick/Kconfig | 4 ++-- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/serio/Kconfig | 4 ++-- drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt | 2 +- drivers/video/fbdev/skeletonfb.c | 8 ++++---- include/linux/tracepoint.h | 2 +- security/device_cgroup.c | 2 +- 16 files changed, 23 insertions(+), 23 deletions(-)
Documentation/ABI/obsolete/sysfs-gpio +1 -1
@@ -11,7 +11,7 @@ Description: Kernel code may export it for complete or partial access. GPIOs are identified as they are inside the kernel, using integers in - the range 0..INT_MAX. See Documentation/gpio/gpio.txt for more information. + the range 0..INT_MAX. See Documentation/gpio for more information. /sys/class/gpio /export ... asks the kernel to export a GPIO to userspace
Documentation/devicetree/bindings/display/bridge/tda998x.txt +1 -1
@@ -27,7 +27,7 @@ Optional properties: in question is used. The implementation allows one or two DAIs. If two DAIs are defined, they must be of different type. -[1] Documentation/sound/alsa/soc/DAI.txt +[1] Documentation/sound/soc/dai.rst [2] include/dt-bindings/display/tda998x.h Example:
Documentation/trace/events.rst +1 -1
@@ -8,7 +8,7 @@ Event Tracing 1. Introduction =============== -Tracepoints (see Documentation/trace/tracepoints.txt) can be used +Tracepoints (see Documentation/trace/tracepoints.rst) can be used without creating custom kernel modules to register probe functions using the event tracing infrastructure.
Documentation/trace/tracepoint-analysis.rst +1 -1
@@ -6,7 +6,7 @@ Notes on Analysing Behaviour Using Events and Tracepoints 1. Introduction =============== -Tracepoints (see Documentation/trace/tracepoints.txt) can be used without +Tracepoints (see Documentation/trace/tracepoints.rst) can be used without creating custom kernel modules to register probe functions using the event tracing infrastructure.
Documentation/translations/zh_CN/SubmittingDrivers +1 -1
@@ -107,7 +107,7 @@ Linux 2.6: 程序测试的指导,请参阅 Documentation/power/drivers-testing.txt。有关驱动程序电 源管理问题相对全面的概述,请参阅 - Documentation/power/admin-guide/devices.rst。 + Documentation/driver-api/pm/devices.rst。 管理: 如果一个驱动程序的作者还在进行有效的维护,那么通常除了那 些明显正确且不需要任何检查的补丁以外,其他所有的补丁都会
Documentation/translations/zh_CN/gpio.txt +2 -2
@@ -1,4 +1,4 @@ -Chinese translated version of Documentation/gpio.txt +Chinese translated version of Documentation/gpio If you have any comment or update to the content, please contact the original document maintainer directly. However, if you have a problem
@@ -10,7 +10,7 @@ Maintainer: Grant Likely <[email protected]> Linus Walleij <[email protected]> Chinese maintainer: Fu Wei <[email protected]> --------------------------------------------------------------------- -Documentation/gpio.txt 的中文翻译 +Documentation/gpio 的中文翻译 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
MAINTAINERS +1 -1
@@ -13149,7 +13149,7 @@ L: [email protected] (moderated for non-subscribers) W: http://alsa-project.org/main/index.php/ASoC S: Supported F: Documentation/devicetree/bindings/sound/ -F: Documentation/sound/alsa/soc/ +F: Documentation/sound/soc/ F: sound/soc/ F: include/sound/soc*
drivers/hid/usbhid/Kconfig +1 -1
@@ -14,7 +14,7 @@ config USB_HID You can't use this driver and the HIDBP (Boot Protocol) keyboard and mouse drivers at the same time. More information is available: - <file:Documentation/input/input.txt>. + <file:Documentation/input/input.rst>. If unsure, say Y.
drivers/input/Kconfig +2 -2
@@ -16,7 +16,7 @@ config INPUT Say N here if you have a headless (no monitor, no keyboard) system. - More information is available: <file:Documentation/input/input.txt> + More information is available: <file:Documentation/input/input.rst> If unsure, say Y.
@@ -144,7 +144,7 @@ config INPUT_JOYDEV If unsure, say Y. - More information is available: <file:Documentation/input/joystick.txt> + More information is available: <file:Documentation/input/joydev/joystick.rst> To compile this driver as a module, choose M here: the module will be called joydev.
drivers/input/joystick/Kconfig +2 -2
@@ -9,7 +9,7 @@ menuconfig INPUT_JOYSTICK and the list of supported devices will be displayed. This option doesn't affect the kernel. - Please read the file <file:Documentation/input/joystick.txt> which + Please read the file <file:Documentation/input/joydev/joystick.rst> which contains more information. if INPUT_JOYSTICK
@@ -25,7 +25,7 @@ config JOYSTICK_ANALOG Flightstick Pro, ThrustMaster FCS, 6 and 8 button gamepads, or Saitek Cyborg joysticks. - Please read the file <file:Documentation/input/joystick.txt> which + Please read the file <file:Documentation/input/joydev/joystick.rst> which contains more information. To compile this driver as a module, choose M here: the
drivers/input/joystick/iforce/Kconfig +1 -1
@@ -27,6 +27,6 @@ config JOYSTICK_IFORCE_232 connected to your serial (COM) port. You will need an additional utility called inputattach, see - <file:Documentation/input/joystick.txt> + <file:Documentation/input/joydev/joystick.rst> and <file:Documentation/input/ff.rst>.
drivers/input/serio/Kconfig +2 -2
@@ -47,7 +47,7 @@ config SERIO_SERPORT Say Y here if you plan to use an input device (mouse, joystick, tablet, 6dof) that communicates over the RS232 serial (COM) port. - More information is available: <file:Documentation/input/input.txt> + More information is available: <file:Documentation/input/input.rst> If unsure, say Y.
@@ -78,7 +78,7 @@ config SERIO_PARKBD Say Y here if you built a simple parallel port adapter to attach an additional AT keyboard, XT keyboard or PS/2 mouse. - More information is available: <file:Documentation/input/input.txt> + More information is available: <file:Documentation/input/input.rst> If unsure, say N.
drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt +1 -1
@@ -11,7 +11,7 @@ pool management for network interfaces. This document provides an overview the Linux DPIO driver, its subcomponents, and its APIs. -See Documentation/dpaa2/overview.txt for a general overview of DPAA2 +See Documentation/networking/dpaa2/overview.rst for a general overview of DPAA2 and the general DPAA2 driver architecture in Linux. Driver Overview
drivers/video/fbdev/skeletonfb.c +4 -4
@@ -836,7 +836,7 @@ static void xxxfb_remove(struct pci_dev *dev)* @dev: PCI device * @msg: the suspend event code. * -* See Documentation/power/admin-guide/devices.rst for more information +* See Documentation/driver-api/pm/devices.rst for more information */ static int xxxfb_suspend (struct pci_dev *dev,pm_message_t msg) {
@@ -851,7 +851,7 @@ static int xxxfb_suspend(struct pci_dev *dev, pm_message_t msg)* xxxfb_resume - Optional but recommended function. Resume the device. * @dev: PCI device * -* See Documentation/power/admin-guide/devices.rst for more information +* See Documentation/driver-api/pm/devices.rst for more information */ static int xxxfb_resume (struct pci_dev *dev) {
@@ -915,7 +915,7 @@ static void __exit xxxfb_exit(void)* @dev: platform device * @msg: the suspend event code. * -* See Documentation/power/admin-guide/devices.rst for more information +* See Documentation/driver-api/pm/devices.rst for more information */ static int xxxfb_suspend (struct platform_device *dev,pm_message_t msg) {
@@ -930,7 +930,7 @@ static int xxxfb_suspend(struct platform_device *dev, pm_message_t msg)* xxxfb_resume - Optional but recommended function. Resume the device. * @dev: platform device * -* See Documentation/power/admin-guide/devices.rst for more information +* See Documentation/driver-api/pm/devices.rst for more information */ static int xxxfb_resume (struct platform_dev *dev) {
include/linux/tracepoint.h +1 -1
@@ -4,7 +4,7 @@/* * Kernel Tracepoint API. * -* See Documentation/trace/tracepoints.txt. +* See Documentation/trace/tracepoints.rst. * * Copyright (C) 2008-2014 Mathieu Desnoyers <[email protected]> *
security/device_cgroup.c +1 -1
@@ -509,7 +509,7 @@ static inline int may_allow_all(struct dev_cgroup *parent)* This is one of the three key functions for hierarchy implementation. * This function is responsible for re-evaluating all the cgroup's active * exceptions due to a parent's exception change. -* Refer to Documentation/cgroups/devices.txt for more details. +* Refer to Documentation/cgroup-v1/devices.txt for more details. */ static void revalidate_active_exceptions (struct dev_cgroup *devcg) {
Signature · 6 lines
2.17.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2 11/11] docs: fix broken references with multiple hints
Quoted 7 lines · Mauro Carvalho Chehab
The script:
./scripts/documentation-file-ref-check --fix-rstGives multiple hints for broken references on some files. Manually use the one that applies for some files.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
Signature · 2 lines
James Morris <[email protected]>
Re: [PATCH v2 11/11] docs: fix broken references with multiple hints
In reply to Mauro Carvalho ChehabQuoted 7 lines · Mauro Carvalho Chehab
The script:
./scripts/documentation-file-ref-check --fix-rstGives multiple hints for broken references on some files. Manually use the one that applies for some files.
Signed-off-by Mauro Carvalho Chehab <[email protected]>
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH v2 11/11] docs: fix broken references with multiple hints
In reply to Mauro Carvalho ChehabQuoted 32 lines · On Wed, 9 May 2018 10:18:54 -0300 Mauro Carvalho Chehab…
Documentation/trace/events.rst +1
-1@@ -8,7 +8,7 @@ Event Tracing 1. Introduction =============== -Tracepoints (see Documentation/trace/tracepoints.txt) can be used +Tracepoints (see Documentation/trace/tracepoints.rst) can be used without creating custom kernel modules to register probe functions using the event tracing infrastructure.Documentation/trace/tracepoint-analysis.rst +1
-1@@ -6,7 +6,7 @@ Notes on Analysing Behaviour Using Events and Tracepoints 1. Introduction =============== -Tracepoints (see Documentation/trace/tracepoints.txt) can be used without +Tracepoints (see Documentation/trace/tracepoints.rst) can be used without creating custom kernel modules to register probe functions using the event tracing infrastructure.include/linux/tracepoint.h +0
-0
include/linux/tracepoint.h line 10
Quoted 8 lines
include/linux/tracepoint.h +1
-1@@ -4,7 +4,7 @@/* * Kernel Tracepoint API. * -* See Documentation/trace/tracepoints.txt. +* See Documentation/trace/tracepoints.rst. * * Copyright (C) 2008-2014 Mathieu Desnoyers <[email protected]> *
-- Steve
Re: [PATCH v2 11/11] docs: fix broken references with multiple hints
In reply to Mauro Carvalho ChehabQuoted 10 lines · Mauro Carvalho Chehab
The script:
./scripts/documentation-file-ref-check --fix-rstGives multiple hints for broken references on some files. Manually use the one that applies for some files.
Signed-off-by Mauro Carvalho Chehab <[email protected]>--- Documentation/ABI/obsolete/sysfs-gpio | 2 +- .../devicetree/bindings/display/bridge/tda998x.txt | 2 +-
Quoted 7 lines
Documentation/trace/events.rst | 2 +- Documentation/trace/tracepoint-analysis.rst | 2 +- Documentation/translations/zh_CN/SubmittingDrivers | 2 +- Documentation/translations/zh_CN/gpio.txt | 4 ++-- MAINTAINERS | 2 +- drivers/hid/usbhid/Kconfig | 2 +- drivers/input/Kconfig | 4 ++--
Quoted 8 lines
drivers/input/joystick/Kconfig | 4 ++-- drivers/input/joystick/iforce/Kconfig | 2 +- drivers/input/serio/Kconfig | 4 ++-- drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt | 2 +- drivers/video/fbdev/skeletonfb.c | 8 ++++---- include/linux/tracepoint.h | 2 +- security/device_cgroup.c | 2 +- 16 files changed, 23 insertions(+), 23 deletions(-)
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Jonathan Corbet
maintainerQuoted 5 lines · On Wed, 9 May 2018 10:18:43 -0300 Mauro Carvalho Chehab…
Patches 1 to 5 on this series contain the patches that weren't yet applied from the past patch series and touch only at Documentation. There are two changes there:
patch 2: fixed the description and added a c/c to cgroup maintainers; patch 4: rewritten according with Louis request, droping several hunks.
Of these, I've applied 2, 4, and 6. The networking and crypto folks like to apply their own documentation fixes; I assume they'll pick these up.
Quoted 2 lines
Patch 6 rewrites
scripts/documentation-file-ref-checkon Perl, adding an auto-fix feature.
Applied this one.
Quoted 2 lines
Patches 7 and 8 fix things that would cause troubles for the automatic autocorrection tool.
#7 is applied. #8 doesn't apply, though; I'm not sure which tree you made it against? In any case, I've stopped here for now.
Quoted 4 lines
Patch 9 touches a lot of random places (including
MAINTAINERS) that contain broken links and can be auto-fixed. It could be broken into one patch per touched file, but I think that is overkill.
Let's keep this one (and the ones that follow) aside. I'm happy to apply them, but I think they are best applied as an end-of-merge-window thing. I envision lots of conflicts, and I already have a pile of those to explain to Linus this time around.
Sound good?
Thanks,
jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Em Thu, 10 May 2018 14:22:35 -0600
Jonathan Corbet <[email protected]> escreveu:
Quoted 11 lines
Quoted 5 lines · On Wed, 9 May 2018 10:18:43 -0300 Mauro Carvalho Chehab…
Patches 1 to 5 on this series contain the patches that weren't yet applied from the past patch series and touch only at Documentation. There are two changes there:
patch 2: fixed the description and added a c/c to cgroup maintainers; patch 4: rewritten according with Louis request, droping several hunks.Of these, I've applied 2, 4, and 6. The networking and crypto folks like to apply their own documentation fixes; I assume they'll pick these up.
Hmm... I'm pretty sure I emailed about patch 4. Luis actually came with a better solution: he partially removed the note, as it is outdated. Better to revert it as otherwise it will rise conflicts at -next once merged.
Quoted 11 lines
Quoted 3 lines
Patch 6 rewrites
scripts/documentation-file-ref-checkon Perl, adding an auto-fix feature.Applied this one.
Quoted 2 lines
Patches 7 and 8 fix things that would cause troubles for the automatic autocorrection tool.
#7 is applied. #8 doesn't apply, though; I'm not sure which tree you made it against? In any case, I've stopped here for now.
Andrea commented about #8. You already applied an identical patch :-)
Quoted 9 lines
Quoted 4 lines
Patch 9 touches a lot of random places (including
MAINTAINERS) that contain broken links and can be auto-fixed. It could be broken into one patch per touched file, but I think that is overkill.Let's keep this one (and the ones that follow) aside. I'm happy to apply them, but I think they are best applied as an end-of-merge-window thing. I envision lots of conflicts, and I already have a pile of those to explain to Linus this time around.
Yeah, this patch touches on a lot of stuff. Better to handle it by the end of a merge window.
I suspect you'll need to re-generate it by running this command again:
./scripts/documentation-file-ref-check --fix
But you should check the results, as false positives may arise.
If you prefer, I rebased the tree with the pending patches, placing patch 9 at the end. This way, you'll likely avoid conflicts with patches 10 and 11.
https://git.linuxtv.org/mchehab/experimental.git/log/?h=broken-links-v4
Thanks,
Mauro