* [PATCH] Docs: mmap_prepare: don't italicize structs
@ 2026-03-15 22:45 Randy Dunlap
2026-03-16 6:38 ` Bagas Sanjaya
2026-03-16 7:10 ` Lorenzo Stoakes (Oracle)
0 siblings, 2 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-03-15 22:45 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Andrew Morton, Lorenzo Stoakes, linux-mm, linux-doc
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>
---
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: linux-mm@kvack.org
Cc: linux-doc@vger.kernel.org
Documentation/filesystems/mmap_prepare.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next.orig/Documentation/filesystems/mmap_prepare.rst
+++ linux-next/Documentation/filesystems/mmap_prepare.rst
@@ -129,11 +129,11 @@ 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.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] Docs: mmap_prepare: don't italicize structs
2026-03-15 22:45 [PATCH] Docs: mmap_prepare: don't italicize structs Randy Dunlap
@ 2026-03-16 6:38 ` Bagas Sanjaya
2026-03-16 7:10 ` Lorenzo Stoakes (Oracle)
1 sibling, 0 replies; 4+ messages in thread
From: Bagas Sanjaya @ 2026-03-16 6:38 UTC (permalink / raw)
To: Randy Dunlap, linux-kernel
Cc: Andrew Morton, Lorenzo Stoakes, linux-mm, linux-doc
[-- Attachment #1: Type: text/plain, Size: 408 bytes --]
On Sun, Mar 15, 2026 at 03:45:06PM -0700, Randy Dunlap wrote:
> 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.
Acked-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] Docs: mmap_prepare: don't italicize structs
2026-03-15 22:45 [PATCH] Docs: mmap_prepare: don't italicize structs Randy Dunlap
2026-03-16 6:38 ` Bagas Sanjaya
@ 2026-03-16 7:10 ` Lorenzo Stoakes (Oracle)
2026-03-16 18:45 ` Randy Dunlap
1 sibling, 1 reply; 4+ messages in thread
From: Lorenzo Stoakes (Oracle) @ 2026-03-16 7:10 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-kernel, Andrew Morton, linux-mm, linux-doc
On Sun, Mar 15, 2026 at 03:45:06PM -0700, Randy Dunlap wrote:
> 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>
This is fine, though given this series is still in-flight we should just
fold this in no?
Anyway, LGTM so:
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
> ---
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Lorenzo Stoakes <ljs@kernel.org>
> Cc: linux-mm@kvack.org
> Cc: linux-doc@vger.kernel.org
>
> Documentation/filesystems/mmap_prepare.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- linux-next.orig/Documentation/filesystems/mmap_prepare.rst
> +++ linux-next/Documentation/filesystems/mmap_prepare.rst
> @@ -129,11 +129,11 @@ 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.
>
Cheers, Lorenzo
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] Docs: mmap_prepare: don't italicize structs
2026-03-16 7:10 ` Lorenzo Stoakes (Oracle)
@ 2026-03-16 18:45 ` Randy Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2026-03-16 18:45 UTC (permalink / raw)
To: Lorenzo Stoakes (Oracle); +Cc: linux-kernel, Andrew Morton, linux-mm, linux-doc
On 3/16/26 12:10 AM, Lorenzo Stoakes (Oracle) wrote:
> On Sun, Mar 15, 2026 at 03:45:06PM -0700, Randy Dunlap wrote:
>> 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>
>
> This is fine, though given this series is still in-flight we should just
> fold this in no?
Sure, any/either way works for me.
Thanks.
> Anyway, LGTM so:
>
> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
>
>> ---
>> Cc: Andrew Morton <akpm@linux-foundation.org>
>> Cc: Lorenzo Stoakes <ljs@kernel.org>
>> Cc: linux-mm@kvack.org
>> Cc: linux-doc@vger.kernel.org
>>
>> Documentation/filesystems/mmap_prepare.rst | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> --- linux-next.orig/Documentation/filesystems/mmap_prepare.rst
>> +++ linux-next/Documentation/filesystems/mmap_prepare.rst
>> @@ -129,11 +129,11 @@ 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.
>>
>
> Cheers, Lorenzo
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-16 18:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-15 22:45 [PATCH] Docs: mmap_prepare: don't italicize structs Randy Dunlap
2026-03-16 6:38 ` Bagas Sanjaya
2026-03-16 7:10 ` Lorenzo Stoakes (Oracle)
2026-03-16 18:45 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox