Linux-man Archive on lore.kernel.org
 help / color / Atom feed
* Re: [patch] ioctl_userfaultfd.2: wfix
       [not found] <CADvajOpe=aBfVCbjXnKXpReixRAtZhjE2O7VzSW+OTYvCjiDOQ@mail.gmail.com>
@ 2020-02-07 15:22 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; only message in thread
From: Michael Kerrisk (man-pages) @ 2020-02-07 15:22 UTC (permalink / raw)
  To: Yu Jian Wu; +Cc: mtk.manpages, linux-man

Hello Yu Jian Wu

On 1/30/20 5:02 PM, Yu Jian Wu wrote:
> Hi,
> 
> Patch as attached. I think the comment on the variables in the struct is
> reversed.
> 
> Thanks!


Thanks. Patch applied.

Cheers,

Michael

> diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2
> index cd3e089b7..d417e30f3 100644
> --- a/man2/ioctl_userfaultfd.2
> +++ b/man2/ioctl_userfaultfd.2
> @@ -421,8 +421,8 @@ structure pointed to by
>  .in +4n
>  .EX
>  struct uffdio_copy {
> -    __u64 dst;    /* Source of copy */
> -    __u64 src;    /* Destination of copy */
> +    __u64 dst;    /* Destination of copy */
> +    __u64 src;    /* Source of copy */
>      __u64 len;    /* Number of bytes to copy */
>      __u64 mode;   /* Flags controlling behavior of copy */
>      __s64 copy;   /* Number of bytes copied, or negated error */
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CADvajOpe=aBfVCbjXnKXpReixRAtZhjE2O7VzSW+OTYvCjiDOQ@mail.gmail.com>
2020-02-07 15:22 ` [patch] ioctl_userfaultfd.2: wfix Michael Kerrisk (man-pages)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git