public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: fix typo in examples of dynamic-debug-howto.rst
@ 2023-12-13  7:37 Rex Nie
  2023-12-15 16:16 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Rex Nie @ 2023-12-13  7:37 UTC (permalink / raw)
  To: corbet
  Cc: rdunlap, gregkh, jim.cromie, mcgrof, rex.nie, linux, lists,
	linux-doc, linux-kernel, angus.chen

Since most examples use ddcmd alias, remove the redundant file names

Signed-off-by: Rex Nie <rex.nie@jaguarmicro.com>
---
 Documentation/admin-guide/dynamic-debug-howto.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 0c526dac8428..0e9b48daf690 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -321,13 +321,13 @@ Examples
   :#> ddcmd 'format "nfsd: READ" +p'
 
   // enable messages in files of which the paths include string "usb"
-  :#> ddcmd 'file *usb* +p' > /proc/dynamic_debug/control
+  :#> ddcmd 'file *usb* +p'
 
   // enable all messages
-  :#> ddcmd '+p' > /proc/dynamic_debug/control
+  :#> ddcmd '+p'
 
   // add module, function to all enabled messages
-  :#> ddcmd '+mf' > /proc/dynamic_debug/control
+  :#> ddcmd '+mf'
 
   // boot-args example, with newlines and comments for readability
   Kernel command line: ...
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: fix typo in examples of dynamic-debug-howto.rst
  2023-12-13  7:37 [PATCH] Documentation: fix typo in examples of dynamic-debug-howto.rst Rex Nie
@ 2023-12-15 16:16 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2023-12-15 16:16 UTC (permalink / raw)
  To: Rex Nie
  Cc: rdunlap, gregkh, jim.cromie, mcgrof, rex.nie, linux, lists,
	linux-doc, linux-kernel, angus.chen

Rex Nie <rex.nie@jaguarmicro.com> writes:

> Since most examples use ddcmd alias, remove the redundant file names
>
> Signed-off-by: Rex Nie <rex.nie@jaguarmicro.com>
> ---
>  Documentation/admin-guide/dynamic-debug-howto.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

I've applied the patch, thanks.

I did change the subject line, though, since I don't think this change
really qualifies as a typo fix:

  Documentation: Remove redundant file names from examples

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-15 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-13  7:37 [PATCH] Documentation: fix typo in examples of dynamic-debug-howto.rst Rex Nie
2023-12-15 16:16 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox