* [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax
@ 2026-01-11 22:36 Petr Vorel
2026-01-11 22:36 ` [PATCH v2 2/2] Documentation/trace: Fix links to other documents Petr Vorel
2026-01-12 16:35 ` [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Petr Vorel @ 2026-01-11 22:36 UTC (permalink / raw)
To: linux-doc; +Cc: Petr Vorel, Jonathan Corbet
Link to another document does not require 'file:', therefore it was
shown in generated html.
Preformatted text requires just ``...``.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Changes v1->v2:
* Remove backticks (Jonathan Corbet)
Link to v1:
https://lore.kernel.org/linux-doc/20260109152336.84674-1-pvorel@suse.cz/
Documentation/admin-guide/bug-hunting.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/admin-guide/bug-hunting.rst b/Documentation/admin-guide/bug-hunting.rst
index 7da0504388ece..3901b43c96df1 100644
--- a/Documentation/admin-guide/bug-hunting.rst
+++ b/Documentation/admin-guide/bug-hunting.rst
@@ -52,14 +52,14 @@ line is usually required to identify and handle the bug. Along this chapter,
we'll refer to "Oops" for all kinds of stack traces that need to be analyzed.
If the kernel is compiled with ``CONFIG_DEBUG_INFO``, you can enhance the
-quality of the stack trace by using file:`scripts/decode_stacktrace.sh`.
+quality of the stack trace by using ``scripts/decode_stacktrace.sh``.
Modules linked in
-----------------
Modules that are tainted or are being loaded or unloaded are marked with
"(...)", where the taint flags are described in
-file:`Documentation/admin-guide/tainted-kernels.rst`, "being loaded" is
+Documentation/admin-guide/tainted-kernels.rst, "being loaded" is
annotated with "+", and "being unloaded" is annotated with "-".
@@ -235,7 +235,7 @@ Dave Miller)::
mov 0x8(%ebp), %ebx ! %ebx = skb->sk
mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt
-file:`scripts/decodecode` can be used to automate most of this, depending
+``scripts/decodecode`` can be used to automate most of this, depending
on what CPU architecture is being debugged.
Reporting the bug
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH v2 2/2] Documentation/trace: Fix links to other documents
2026-01-11 22:36 [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Petr Vorel
@ 2026-01-11 22:36 ` Petr Vorel
2026-01-12 16:35 ` [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2026-01-11 22:36 UTC (permalink / raw)
To: linux-doc; +Cc: Petr Vorel, Jonathan Corbet, linux-trace-kernel
Link to another document does not require 'file:'. Removing it fixes
links in generated html docs.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Changes v1->v2:
* Remove backticks (Jonathan Corbet)
Link to v1:
https://lore.kernel.org/linux-doc/20260109152336.84674-2-pvorel@suse.cz/
Documentation/trace/fprobe.rst | 2 +-
Documentation/trace/ftrace-uses.rst | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/trace/fprobe.rst b/Documentation/trace/fprobe.rst
index 06b0edad01796..95998b189ae33 100644
--- a/Documentation/trace/fprobe.rst
+++ b/Documentation/trace/fprobe.rst
@@ -79,7 +79,7 @@ The above is defined by including the header::
Same as ftrace, the registered callbacks will start being called some time
after the register_fprobe() is called and before it returns. See
-:file:`Documentation/trace/ftrace.rst`.
+Documentation/trace/ftrace.rst.
Also, the unregister_fprobe() will guarantee that both enter and exit
handlers are no longer being called by functions after unregister_fprobe()
diff --git a/Documentation/trace/ftrace-uses.rst b/Documentation/trace/ftrace-uses.rst
index e225cc46b71eb..a9701add27c51 100644
--- a/Documentation/trace/ftrace-uses.rst
+++ b/Documentation/trace/ftrace-uses.rst
@@ -253,7 +253,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.rst`.
+See Filter Commands in Documentation/trace/ftrace.rst.
To just trace the schedule function:
--
2.51.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax
2026-01-11 22:36 [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Petr Vorel
2026-01-11 22:36 ` [PATCH v2 2/2] Documentation/trace: Fix links to other documents Petr Vorel
@ 2026-01-12 16:35 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2026-01-12 16:35 UTC (permalink / raw)
To: Petr Vorel, linux-doc; +Cc: Petr Vorel
Petr Vorel <pvorel@suse.cz> writes:
> Link to another document does not require 'file:', therefore it was
> shown in generated html.
>
> Preformatted text requires just ``...``.
>
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
> Changes v1->v2:
> * Remove backticks (Jonathan Corbet)
>
> Link to v1:
> https://lore.kernel.org/linux-doc/20260109152336.84674-1-pvorel@suse.cz/
>
> Documentation/admin-guide/bug-hunting.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Both patches applied, thanks.
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-12 16:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-11 22:36 [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Petr Vorel
2026-01-11 22:36 ` [PATCH v2 2/2] Documentation/trace: Fix links to other documents Petr Vorel
2026-01-12 16:35 ` [PATCH v2 1/2] Documentation: bug-hunting.rst: Remove wrong 'file:' syntax Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox