Skip to contentSkip to conversation

Documentation: fix invalid Documentation refs (2)

PATCH In review Tom Saeger 7 participants 15 messages Oct 12, 2017 – Oct 22, 2017

Subsystems (10)
Documentation VFS GPIO Tracing +6 more subsystems
lore
Share & tools
lore

Tom Saeger

author
#0 lore raw

cover Documentation: fix invalid Documentation refs (2)

Batch (2) set of simple document ref fixes.

Tom Saeger (8):
Documentation: fix locking rt-mutex doc refs
Documentation: fix ref to sphinx/kerneldoc.py
Documentation: fix ref to workqueue content
Documentation: fix ref to coccinelle content
Documentation: fix ref to trace stm content
Documentation: fix ref to power basic-pm-debugging
Documentation: fix selftests related file refs
Documentation: fix ref to gpio.txt

 Documentation/ABI/obsolete/sysfs-gpio                                   | 2 +-
 .../RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html     | 2 +-
 Documentation/doc-guide/kernel-doc.rst                                  | 2 +-
 Documentation/filesystems/dnotify.txt                                   | 2 +-
 Documentation/locking/rt-mutex-design.txt                               | 2 +-
 Documentation/pi-futex.txt                                              | 2 +-
 Documentation/power/interface.txt                                       | 2 +-
 Documentation/process/4.Coding.rst                                      | 2 +-
 Documentation/trace/intel_th.txt                                        | 2 +-
 Documentation/watchdog/hpwdt.txt                                        | 2 +-
 Documentation/watchdog/pcwd-watchdog.txt                                | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.14.2
author
#1 lore raw

PATCH 1/8 Documentation: fix locking rt-mutex doc refs

---
 Documentation/locking/rt-mutex-design.txt | 2 +-
 Documentation/pi-futex.txt                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/locking/rt-mutex-design.txt +1 -1
index 6c6e8c2410de..3d7b865539cc 100644
@@ -8,7 +8,7 @@ RT-mutex implementation design
 
 This document tries to describe the design of the rtmutex.c implementation.
 It doesn't describe the reasons why rtmutex.c exists. For that please see
-Documentation/rt-mutex.txt.  Although this document does explain problems
+Documentation/locking/rt-mutex.txt.  Although this document does explain problems
 that happen without this code, but that is in the concept to understand
 what the code actually is doing.
 
Documentation/pi-futex.txt +1 -1
index aafddbee7377..b154f6c0c36e 100644
@@ -119,4 +119,4 @@ properties of futexes, and all four combinations are possible: futex,
 robust-futex, PI-futex, robust+PI-futex.
 
 More details about priority inheritance can be found in
-Documentation/rt-mutex.txt.
+Documentation/locking/rt-mutex.txt.
Signature · 1 line
2.14.2
author
#2 lore raw

PATCH 2/8 Documentation: fix ref to sphinx/kerneldoc.py

In reply to Tom Saeger
---
 Documentation/doc-guide/kernel-doc.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/doc-guide/kernel-doc.rst +1 -1
index b24854b5d6be..0268335414ce 100644
@@ -65,7 +65,7 @@ Without options, the kernel-doc directive includes all documentation comments
 from the source file.
 
 The kernel-doc extension is included in the kernel source tree, at
-``Documentation/sphinx/kernel-doc.py``. Internally, it uses the
+``Documentation/sphinx/kerneldoc.py``. Internally, it uses the
 ``scripts/kernel-doc`` script to extract the documentation comments from the
 source.
 
Signature · 1 line
2.14.2
author
#3 lore raw

PATCH 3/8 Documentation: fix ref to workqueue content

In reply to Tom Saeger
---
 .../RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html +1 -1
index e5d0bbd0230b..7394f034be65 100644
@@ -527,7 +527,7 @@ grace period also drove it to completion.
 This straightforward approach had the disadvantage of needing to
 account for POSIX signals sent to user tasks,
 so more recent implemementations use the Linux kernel's
-<a href="https://www.kernel.org/doc/Documentation/workqueue.txt">workqueues</a>.
+<a href="https://www.kernel.org/doc/Documentation/core-api/workqueue.rst">workqueues</a>.
 
 <p>
 The requesting task still does counter snapshotting and funnel-lock
Signature · 1 line
2.14.2
#4 lore raw

Re: [PATCH 3/8] Documentation: fix ref to workqueue content

Quoted 3 lines · Tom Saeger
---
 .../RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html     | 2 +-

Someone(tm) should convert the last three html files to rst one of these days!

In the mean time, I guess this is good enough.

BR,
Jani.

Quoted 15 lines
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html +1 -1
index e5d0bbd0230b..7394f034be65 100644
@@ -527,7 +527,7 @@ grace period also drove it to completion.
 This straightforward approach had the disadvantage of needing to
 account for POSIX signals sent to user tasks,
 so more recent implemementations use the Linux kernel's
-<a href="https://www.kernel.org/doc/Documentation/workqueue.txt">workqueues</a>.
+<a href="https://www.kernel.org/doc/Documentation/core-api/workqueue.rst">workqueues</a>.
 
 <p>
 The requesting task still does counter snapshotting and funnel-lock
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
author
#5 lore raw

PATCH 4/8 Documentation: fix ref to coccinelle content

In reply to Tom Saeger
---
 Documentation/process/4.Coding.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/process/4.Coding.rst +1 -1
index 6df19943dd4d..26b106071364 100644
@@ -307,7 +307,7 @@ variety of potential coding problems; it can also propose fixes for those
 problems.  Quite a few "semantic patches" for the kernel have been packaged
 under the scripts/coccinelle directory; running "make coccicheck" will run
 through those semantic patches and report on any problems found.  See
-Documentation/coccinelle.txt for more information.
+Documentation/dev-tools/coccinelle.rst for more information.
 
 Other kinds of portability errors are best found by compiling your code for
 other architectures.  If you do not happen to have an S/390 system or a
Signature · 1 line
2.14.2
author
#6 lore raw

PATCH 5/8 Documentation: fix ref to trace stm content

In reply to Tom Saeger
---
 Documentation/trace/intel_th.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/trace/intel_th.txt +1 -1
index f92070e7dde0..7a57165c2492 100644
@@ -37,7 +37,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/tracing/stm.txt for more information on that.
+Documentation/trace/stm.txt 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
Signature · 1 line
2.14.2
author
#7 lore raw

PATCH 6/8 Documentation: fix ref to power basic-pm-debugging

In reply to Tom Saeger
---
 Documentation/power/interface.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/interface.txt +1 -1
index 7dc75f48e8bd..27df7f98668a 100644
@@ -43,7 +43,7 @@ The currently selected option is printed in square brackets.
 The 'platform' option is only available if the platform provides a special
 mechanism to put the system to sleep after creating a hibernation image (ACPI
 does that, for example).  The 'suspend' option is available if Suspend-to-RAM
-is supported.  Refer to Documentation/power/basic_pm_debugging.txt for the
+is supported.  Refer to Documentation/power/basic-pm-debugging.txt for the
 description of the 'test_resume' option.
 
 To select an option, write the string representing it to /sys/power/disk.
Signature · 1 line
2.14.2
maintainer Acked-by on v1 6/8
#8 lore raw

Re: [PATCH 6/8] Documentation: fix ref to power basic-pm-debugging

Quoted 10 lines · Tom Saeger
---
 Documentation/power/interface.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/power/interface.txt +0 -0
index 7dc75f48e8bd..27df7f98668a 100644

Documentation/power/interface.txt The currently selected option is printed in square brackets.

Quoted 9 lines
Documentation/power/interface.txt +1 -2
@@ -43,7 +43,7 @@ The currently selected option is printed in square brackets.
 The 'platform' option is only available if the platform provides a special
 mechanism to put the system to sleep after creating a hibernation image (ACPI
 does that, for example).  The 'suspend' option is available if Suspend-to-RAM
-is supported.  Refer to Documentation/power/basic_pm_debugging.txt for the
+is supported.  Refer to Documentation/power/basic-pm-debugging.txt for the
 description of the 'test_resume' option.
 
 To select an option, write the string representing it to /sys/power/disk.
--
author
#9 lore raw

PATCH 7/8 Documentation: fix selftests related file refs

In reply to Tom Saeger

Make refs to selftests files valid including:
- watchdog-test.c
- dnotify_test.c

---
 Documentation/filesystems/dnotify.txt    | 2 +-
 Documentation/watchdog/hpwdt.txt         | 2 +-
 Documentation/watchdog/pcwd-watchdog.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/dnotify.txt +1 -1
index 6baf88f46859..15156883d321 100644
@@ -62,7 +62,7 @@ disabled, fcntl(fd, F_NOTIFY, ...) will return -EINVAL.
 
 Example
 -------
-See Documentation/filesystems/dnotify_test.c for an example.
+See tools/testing/selftests/filesystems/dnotify_test.c for an example.
 
 NOTE
 ----
Documentation/watchdog/hpwdt.txt +1 -1
index 7a9f635d0258..6d866c537127 100644
@@ -15,7 +15,7 @@ Last reviewed: 05/20/2016
 
  Watchdog functionality is enabled like any other common watchdog driver. That
  is, an application needs to be started that kicks off the watchdog timer. A
- basic application exists in the Documentation/watchdog/src directory called
+ basic application exists in tools/testing/selftests/watchdog/ named
  watchdog-test.c. Simply compile the C file and kick it off. If the system
  gets into a bad state and hangs, the HPE ProLiant iLO timer register will
  not be updated in a timely fashion and a hardware system reset (also known as
Documentation/watchdog/pcwd-watchdog.txt +1 -1
index 4f68052395c0..b8e60a441a43 100644
@@ -25,7 +25,7 @@ Last reviewed: 10/05/2007
 
  If you want to write a program to be compatible with the PC Watchdog
  driver, simply use of modify the watchdog test program:
- Documentation/watchdog/src/watchdog-test.c
+ tools/testing/selftests/watchdog/watchdog-test.c
 
 
  Other IOCTL functions include:
Signature · 1 line
2.14.2
#10 lore raw

Re: [PATCH 7/8] Documentation: fix selftests related file refs

Quoted 29 lines · Tom Saeger

Make refs to selftests files valid including:
- watchdog-test.c
- dnotify_test.c

---
 Documentation/filesystems/dnotify.txt    | 2 +-
 Documentation/watchdog/hpwdt.txt         | 2 +-
 Documentation/watchdog/pcwd-watchdog.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/dnotify.txt +1 -1
index 6baf88f46859..15156883d321 100644
@@ -62,7 +62,7 @@ disabled, fcntl(fd, F_NOTIFY, ...) will return -EINVAL.
 
 Example
 -------
-See Documentation/filesystems/dnotify_test.c for an example.
+See tools/testing/selftests/filesystems/dnotify_test.c for an example.
 
 NOTE
 ----
Documentation/watchdog/hpwdt.txt +0 -0
index 7a9f635d0258..6d866c537127 100644

Documentation/watchdog/hpwdt.txt Last reviewed: 05/20/2016 · line 21

Quoted 8 lines
Documentation/watchdog/hpwdt.txt +1 -1
@@ -15,7 +15,7 @@ Last reviewed: 05/20/2016
 
  Watchdog functionality is enabled like any other common watchdog driver. That
  is, an application needs to be started that kicks off the watchdog timer. A
- basic application exists in the Documentation/watchdog/src directory called
+ basic application exists in tools/testing/selftests/watchdog/ named
  watchdog-test.c. Simply compile the C file and kick it off. If the system
  gets into a bad state and hangs, the HPE ProLiant iLO timer register will
  not be updated in a timely fashion and a hardware system reset (also known as

Taking over hpwdt for Jimmy Vance.

Quoted 20 lines
Documentation/watchdog/pcwd-watchdog.txt +1 -1
index 4f68052395c0..b8e60a441a43 100644
@@ -25,7 +25,7 @@ Last reviewed: 10/05/2007
 
  If you want to write a program to be compatible with the PC Watchdog
  driver, simply use of modify the watchdog test program:
- Documentation/watchdog/src/watchdog-test.c
+ tools/testing/selftests/watchdog/watchdog-test.c
 
 
  Other IOCTL functions include:
Signature · 6 lines
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
-----------------------------------------------------------------------------
Jerry Hoemann                  Software Engineer   Hewlett Packard Enterprise
-----------------------------------------------------------------------------
maintainer Reviewed-by on v1 7/8
#11 lore raw

Re: [7/8] Documentation: fix selftests related file refs

In reply to Tom Saeger
Quoted 6 lines · Tom Saeger

Make refs to selftests files valid including:
- watchdog-test.c
- dnotify_test.c

That should have been a Reviewed-by: for the hpwdt code.

Otherwise

Quoted 45 lines
---
 Documentation/filesystems/dnotify.txt    | 2 +-
 Documentation/watchdog/hpwdt.txt         | 2 +-
 Documentation/watchdog/pcwd-watchdog.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/dnotify.txt +1 -1
index 6baf88f46859..15156883d321 100644
@@ -62,7 +62,7 @@ disabled, fcntl(fd, F_NOTIFY, ...) will return -EINVAL.
 
 Example
 -------
-See Documentation/filesystems/dnotify_test.c for an example.
+See tools/testing/selftests/filesystems/dnotify_test.c for an example.
 
 NOTE
 ----
Documentation/watchdog/hpwdt.txt +1 -1
index 7a9f635d0258..6d866c537127 100644
@@ -15,7 +15,7 @@ Last reviewed: 05/20/2016
 
  Watchdog functionality is enabled like any other common watchdog driver. That
  is, an application needs to be started that kicks off the watchdog timer. A
- basic application exists in the Documentation/watchdog/src directory called
+ basic application exists in tools/testing/selftests/watchdog/ named
  watchdog-test.c. Simply compile the C file and kick it off. If the system
  gets into a bad state and hangs, the HPE ProLiant iLO timer register will
  not be updated in a timely fashion and a hardware system reset (also known as
Documentation/watchdog/pcwd-watchdog.txt +1 -1
index 4f68052395c0..b8e60a441a43 100644
@@ -25,7 +25,7 @@ Last reviewed: 10/05/2007
 
  If you want to write a program to be compatible with the PC Watchdog
  driver, simply use of modify the watchdog test program:
- Documentation/watchdog/src/watchdog-test.c
+ tools/testing/selftests/watchdog/watchdog-test.c
 
 
  Other IOCTL functions include:
author
#12 lore raw

PATCH 8/8 Documentation: fix ref to gpio.txt

In reply to Tom Saeger
---
 Documentation/ABI/obsolete/sysfs-gpio | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/obsolete/sysfs-gpio +1 -1
index 867c1fab20e2..32513dc2eec9 100644
@@ -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.txt for more information.
+  the range 0..INT_MAX.  See Documentation/gpio/gpio.txt for more information.
 
     /sys/class/gpio
 	/export ... asks the kernel to export a GPIO to userspace
Signature · 1 line
2.14.2
maintainer
#14 lore raw
In reply to Tom Saeger
Quoted 12 lines · On Thu, 12 Oct 2017 15:23:26 -0500 Tom Saeger <[email protected]> wrote:

Batch (2) set of simple document ref fixes.

Tom Saeger (8):
Documentation: fix locking rt-mutex doc refs
Documentation: fix ref to sphinx/kerneldoc.py
Documentation: fix ref to workqueue content
Documentation: fix ref to coccinelle content
Documentation: fix ref to trace stm content
Documentation: fix ref to power basic-pm-debugging
Documentation: fix selftests related file refs
Documentation: fix ref to gpio.txt

I've applied the set (except 8/8, which Linus W. already grabbed).

Thanks,

jon