]> git.baikalelectronics.ru Git - kernel.git/commitdiff
docs: fix typo in Documentation/kernel-hacking/locking.rst
authorTakahiro Itazuri <itazur@amazon.com>
Mon, 24 Jan 2022 08:14:47 +0000 (17:14 +0900)
committerJonathan Corbet <corbet@lwn.net>
Thu, 27 Jan 2022 18:22:33 +0000 (11:22 -0700)
Change copy_from_user*( to copy_from_user() .

Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
Link: https://lore.kernel.org/r/20220124081447.34066-1-itazur@amazon.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/kernel-hacking/locking.rst

index e6cd40663ea52e32b885e01579c89f2bf627b3f4..4cbd50edf277827d81ae9654ff04594af5cc0234 100644 (file)
@@ -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