* [PATCH v2] Docs: mmap_prepare: don't italicize structs
@ 2026-11-02 17:56 Randy Dunlap
2026-11-12 14:59 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-11-02 17:56 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Bagas Sanjaya, Lorenzo Stoakes, Andrew Morton,
linux-mm, linux-doc, Jonathan Corbet
Using a single quote mark `struct xyz` causes the html output to be
produced as italic. Omit the quote marks so that kernel-doc's automarkup
can make the "struct xyz" bold monospace ("code" style") in the
generated html.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Bagas Sanjaya <bagasdotme@gmail.com>
Reviewed-by: Lorenzo Stoakes <ljs@kernel.org>
---
v2: fix one more instance of unneeded single quotes
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: linux-mm@kvack.org
Cc: linux-doc@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Documentation/filesystems/mmap_prepare.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-next-20261030.orig/Documentation/filesystems/mmap_prepare.rst
+++ linux-next-20261030/Documentation/filesystems/mmap_prepare.rst
@@ -156,16 +156,16 @@ pointer. These are:
* mmap_action_simple_ioremap() - Sets up an I/O remap from a specified
physical address and over a specified length.
-* mmap_action_map_kernel_pages() - Maps a specified array of `struct page`
+* mmap_action_map_kernel_pages() - Maps a specified array of struct page
pointers in the VMA from a specific offset.
-* mmap_action_map_kernel_pages_full() - Maps a specified array of `struct
- page` pointers over the entire VMA. The caller must ensure there are
+* mmap_action_map_kernel_pages_full() - Maps a specified array of struct
+ page pointers over the entire VMA. The caller must ensure there are
sufficient entries in the page array to cover the entire range of the
described VMA.
* mmap_action_map_discontig_kernel_pages() - Maps a discontiguous range of
- `struct page` pointers over the VMA. They must span from the start of the VMA,
+ struct page pointers over the VMA. They must span from the start of the VMA,
but may terminate prior to the end (leaving the remainder unmapped).
**NOTE:** The ``action`` field should never normally be manipulated directly,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] Docs: mmap_prepare: don't italicize structs
2026-11-02 17:56 [PATCH v2] Docs: mmap_prepare: don't italicize structs Randy Dunlap
@ 2026-11-12 14:59 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-11-12 14:59 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: Randy Dunlap, Bagas Sanjaya, Lorenzo Stoakes, Andrew Morton,
linux-mm, linux-doc
Randy Dunlap <rdunlap@infradead.org> writes:
> Using a single quote mark `struct xyz` causes the html output to be
> produced as italic. Omit the quote marks so that kernel-doc's automarkup
> can make the "struct xyz" bold monospace ("code" style") in the
> generated html.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Acked-by: Bagas Sanjaya <bagasdotme@gmail.com>
> Reviewed-by: Lorenzo Stoakes <ljs@kernel.org>
> ---
> v2: fix one more instance of unneeded single quotes
>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Lorenzo Stoakes <ljs@kernel.org>
> Cc: linux-mm@kvack.org
> Cc: linux-doc@vger.kernel.org
> Cc: Jonathan Corbet <corbet@lwn.net>
>
> Documentation/filesystems/mmap_prepare.rst | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-12 14:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02 17:56 [PATCH v2] Docs: mmap_prepare: don't italicize structs Randy Dunlap
2026-11-12 14:59 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox