On Wed, 03 Mar 2010 22:15:58 -0800 (PST) Michael Witten wrote: > On Wed, Mar 3, 2010 at 23:53, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote: > > preferably also change above to "to and from userspace." so that they are in the > > same respective order. > > How about this: Yes, that's fine. Thanks. > diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl > index 68ae82d..a709a25 100644 > --- a/Documentation/DocBook/kernel-hacking.tmpl > +++ b/Documentation/DocBook/kernel-hacking.tmpl > @@ -482,7 +482,7 @@ printk(KERN_INFO "my ip: %pI4\n", &ipaddress); > > <sect1 id="routines-copy"> > <title> > - <function>copy_{to,from}_user()</function> > + <function>copy_{from,to}_user()</function> > / > <function>get_user()</function> > / > @@ -495,7 +495,7 @@ printk(KERN_INFO "my ip: %pI4\n", &ipaddress); > </para> > > <para> > - <function>put_user()</function> and <function>get_user()</function> > + <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 > --- ~Randy -- 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