* [PATCH] Documentation: kernel-hacking: Remove comma
@ 2025-12-19 17:18 Thorsten Blum
2025-12-19 17:55 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Thorsten Blum @ 2025-12-19 17:18 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: Thorsten Blum, linux-doc, linux-kernel
The comma is wrong, remove it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
Documentation/kernel-hacking/hacking.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index 0042776a9e17..06fcb7c662d3 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -49,7 +49,7 @@ User Context
User context is when you are coming in from a system call or other trap:
like userspace, you can be preempted by more important tasks and by
-interrupts. You can sleep, by calling :c:func:`schedule()`.
+interrupts. You can sleep by calling :c:func:`schedule()`.
.. note::
--
Thorsten Blum <thorsten.blum@linux.dev>
GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: Remove comma
2025-12-19 17:18 [PATCH] Documentation: kernel-hacking: Remove comma Thorsten Blum
@ 2025-12-19 17:55 ` Randy Dunlap
2025-12-19 21:31 ` Jonathan Corbet
2025-12-22 21:41 ` Jonathan Corbet
2 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2025-12-19 17:55 UTC (permalink / raw)
To: Thorsten Blum, Jonathan Corbet; +Cc: linux-doc, linux-kernel
On 12/19/25 9:18 AM, Thorsten Blum wrote:
> The comma is wrong, remove it.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Documentation/kernel-hacking/hacking.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
> index 0042776a9e17..06fcb7c662d3 100644
> --- a/Documentation/kernel-hacking/hacking.rst
> +++ b/Documentation/kernel-hacking/hacking.rst
> @@ -49,7 +49,7 @@ User Context
>
> User context is when you are coming in from a system call or other trap:
> like userspace, you can be preempted by more important tasks and by
> -interrupts. You can sleep, by calling :c:func:`schedule()`.
> +interrupts. You can sleep by calling :c:func:`schedule()`.
>
> .. note::
>
--
~Randy
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: Remove comma
2025-12-19 17:18 [PATCH] Documentation: kernel-hacking: Remove comma Thorsten Blum
2025-12-19 17:55 ` Randy Dunlap
@ 2025-12-19 21:31 ` Jonathan Corbet
2025-12-19 21:40 ` Thorsten Blum
2025-12-22 21:41 ` Jonathan Corbet
2 siblings, 1 reply; 6+ messages in thread
From: Jonathan Corbet @ 2025-12-19 21:31 UTC (permalink / raw)
To: Thorsten Blum; +Cc: Thorsten Blum, linux-doc, linux-kernel
Thorsten Blum <thorsten.blum@linux.dev> writes:
> The comma is wrong, remove it.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
> Documentation/kernel-hacking/hacking.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
> index 0042776a9e17..06fcb7c662d3 100644
> --- a/Documentation/kernel-hacking/hacking.rst
> +++ b/Documentation/kernel-hacking/hacking.rst
> @@ -49,7 +49,7 @@ User Context
>
> User context is when you are coming in from a system call or other trap:
> like userspace, you can be preempted by more important tasks and by
> -interrupts. You can sleep, by calling :c:func:`schedule()`.
> +interrupts. You can sleep by calling :c:func:`schedule()`.
That's a fine change, but can I prevail upon you to get rid of the
usless :c:func: annotation while you're playing with that line?
Thanks,
jon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: Remove comma
2025-12-19 21:31 ` Jonathan Corbet
@ 2025-12-19 21:40 ` Thorsten Blum
2025-12-19 21:58 ` Jonathan Corbet
0 siblings, 1 reply; 6+ messages in thread
From: Thorsten Blum @ 2025-12-19 21:40 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: linux-doc, linux-kernel
On 19. Dec 2025, at 22:31, Jonathan Corbet wrote:
> Thorsten Blum <thorsten.blum@linux.dev> writes:
>> The comma is wrong, remove it.
>>
>> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
>> ---
>> Documentation/kernel-hacking/hacking.rst | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
>> index 0042776a9e17..06fcb7c662d3 100644
>> --- a/Documentation/kernel-hacking/hacking.rst
>> +++ b/Documentation/kernel-hacking/hacking.rst
>> @@ -49,7 +49,7 @@ User Context
>>
>> User context is when you are coming in from a system call or other trap:
>> like userspace, you can be preempted by more important tasks and by
>> -interrupts. You can sleep, by calling :c:func:`schedule()`.
>> +interrupts. You can sleep by calling :c:func:`schedule()`.
>
> That's a fine change, but can I prevail upon you to get rid of the
> usless :c:func: annotation while you're playing with that line?
So just `schedule()`?
:c:func: is used very often in the same file - maybe we should remove
them all in a separate patch? I'm fine either way.
Thanks,
Thorsten
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: Remove comma
2025-12-19 21:40 ` Thorsten Blum
@ 2025-12-19 21:58 ` Jonathan Corbet
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2025-12-19 21:58 UTC (permalink / raw)
To: Thorsten Blum; +Cc: linux-doc, linux-kernel
Thorsten Blum <thorsten.blum@linux.dev> writes:
>> That's a fine change, but can I prevail upon you to get rid of the
>> usless :c:func: annotation while you're playing with that line?
>
> So just `schedule()`?
Yes. We should never use :c:func:, our automarkup code will do the
right thing in its absence.
> :c:func: is used very often in the same file - maybe we should remove
> them all in a separate patch? I'm fine either way.
If you want to do them all, a separate patch probably makes sense. That
would be wonderful.
Thanks,
jon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: Remove comma
2025-12-19 17:18 [PATCH] Documentation: kernel-hacking: Remove comma Thorsten Blum
2025-12-19 17:55 ` Randy Dunlap
2025-12-19 21:31 ` Jonathan Corbet
@ 2025-12-22 21:41 ` Jonathan Corbet
2 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2025-12-22 21:41 UTC (permalink / raw)
To: Thorsten Blum; +Cc: Thorsten Blum, linux-doc, linux-kernel
Thorsten Blum <thorsten.blum@linux.dev> writes:
> The comma is wrong, remove it.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
> ---
> Documentation/kernel-hacking/hacking.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
> index 0042776a9e17..06fcb7c662d3 100644
> --- a/Documentation/kernel-hacking/hacking.rst
> +++ b/Documentation/kernel-hacking/hacking.rst
> @@ -49,7 +49,7 @@ User Context
>
> User context is when you are coming in from a system call or other trap:
> like userspace, you can be preempted by more important tasks and by
> -interrupts. You can sleep, by calling :c:func:`schedule()`.
> +interrupts. You can sleep by calling :c:func:`schedule()`.
>
Applied, thanks,
jon
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-12-22 21:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 17:18 [PATCH] Documentation: kernel-hacking: Remove comma Thorsten Blum
2025-12-19 17:55 ` Randy Dunlap
2025-12-19 21:31 ` Jonathan Corbet
2025-12-19 21:40 ` Thorsten Blum
2025-12-19 21:58 ` Jonathan Corbet
2025-12-22 21:41 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).