* [PATCH] docs: fix typo in Documentation/kernel-hacking/locking.rst
@ 2022-01-24 8:14 Takahiro Itazuri
2022-01-26 0:16 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Takahiro Itazuri @ 2022-01-24 8:14 UTC (permalink / raw)
To: linux-doc
Cc: linux-kernel, trivial, Takahiro Itazuri, Jonathan Corbet,
Takahiro Itazuri
Change copy_from_user*( to copy_from_user() .
Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
---
Documentation/kernel-hacking/locking.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index e6cd40663ea5..4cbd50edf277 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -295,7 +295,7 @@ Pete Zaitcev gives the following summary:
- If you are in a process context (any syscall) and want to lock other
process out, use a mutex. You can take a mutex and sleep
- (``copy_from_user*(`` or ``kmalloc(x,GFP_KERNEL)``).
+ (``copy_from_user()`` or ``kmalloc(x,GFP_KERNEL)``).
- Otherwise (== data can be touched in an interrupt), use
spin_lock_irqsave() and
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: fix typo in Documentation/kernel-hacking/locking.rst
2022-01-24 8:14 [PATCH] docs: fix typo in Documentation/kernel-hacking/locking.rst Takahiro Itazuri
@ 2022-01-26 0:16 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2022-01-26 0:16 UTC (permalink / raw)
To: Takahiro Itazuri, linux-doc
Cc: linux-kernel, trivial, Takahiro Itazuri, Takahiro Itazuri
Takahiro Itazuri <itazur@amazon.com> writes:
> Change copy_from_user*( to copy_from_user() .
>
> Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
> ---
> Documentation/kernel-hacking/locking.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
> index e6cd40663ea5..4cbd50edf277 100644
> --- a/Documentation/kernel-hacking/locking.rst
> +++ b/Documentation/kernel-hacking/locking.rst
> @@ -295,7 +295,7 @@ Pete Zaitcev gives the following summary:
>
> - If you are in a process context (any syscall) and want to lock other
> process out, use a mutex. You can take a mutex and sleep
> - (``copy_from_user*(`` or ``kmalloc(x,GFP_KERNEL)``).
> + (``copy_from_user()`` or ``kmalloc(x,GFP_KERNEL)``).
>
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-26 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 8:14 [PATCH] docs: fix typo in Documentation/kernel-hacking/locking.rst Takahiro Itazuri
2022-01-26 0:16 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.