[PATCH v2] Docs: mmap_prepare: don't italicize structs
From: Randy Dunlap
Date: Mon Nov 02 2026 - 16:04:39 EST
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@xxxxxxxxxxxxx>
Acked-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
Reviewed-by: Lorenzo Stoakes <ljs@xxxxxxxxxx>
---
v2: fix one more instance of unneeded single quotes
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Lorenzo Stoakes <ljs@xxxxxxxxxx>
Cc: linux-mm@xxxxxxxxx
Cc: linux-doc@xxxxxxxxxxxxxxx
Cc: Jonathan Corbet <corbet@xxxxxxx>
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,