[PATCH v2 06/25] Docs: kernel-hacking: wording

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changed '{to,from}' to '{from,to}' in the title
and the order in which {get,put}_user() are
presented, so that the language and ordering
matches up properly throughout.

Fixed plurality mismatch.

Signed-off-by: Michael Witten <mfwitten@xxxxxxxxx>
---
 Documentation/DocBook/kernel-hacking.tmpl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl
index 2fc062c..aaf2be4 100644
--- a/Documentation/DocBook/kernel-hacking.tmpl
+++ b/Documentation/DocBook/kernel-hacking.tmpl
@@ -482,7 +482,7 @@
 
   <sect1 id="routines-copy">
    <title>
-    <function>copy_{to,from}_user()</function>
+    <function>copy_{from,to}_user()</function>
     /
     <function>get_user()</function>
     /
@@ -495,8 +495,8 @@
    </para>
 
    <para>
-    <function>put_user()</function> and <function>get_user()</function>
-    are used to get and put single values (such as an int, char, or
+    <function>get_user()</function> and <function>put_user()</function>
+    are used to get and put a single value (such as an int, char, or
     long) from and to userspace.  A pointer into userspace should
     never be simply dereferenced: data should be copied using these
     routines.  Both return <constant>-EFAULT</constant> or 0.
-- 
1.7.0.94.gf7311

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux