Skip to content

Commit 10855b4

Browse files
zulinx86Jonathan Corbet
authored andcommitted
docs: fix typo in Documentation/kernel-hacking/locking.rst
Change copy_from_user*( to copy_from_user() . Signed-off-by: Takahiro Itazuri <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 941518d commit 10855b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/kernel-hacking/locking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ Pete Zaitcev gives the following summary:
295295

296296
- If you are in a process context (any syscall) and want to lock other
297297
process out, use a mutex. You can take a mutex and sleep
298-
(``copy_from_user*(`` or ``kmalloc(x,GFP_KERNEL)``).
298+
(``copy_from_user()`` or ``kmalloc(x,GFP_KERNEL)``).
299299

300300
- Otherwise (== data can be touched in an interrupt), use
301301
spin_lock_irqsave() and

0 commit comments

Comments
 (0)