All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: "André Almeida" <andrealmeid@igalia.com>
Cc: linux-man@vger.kernel.org, nabijaczleweli@nabijaczleweli.xyz
Subject: Re: [PATCH] man/man2/futex_waitv.2: Fix example compilation
Date: Sat, 22 Aug 2026 15:58:56 +0200	[thread overview]
Message-ID: <aomqlZqj26mroz96@devuan> (raw)
In-Reply-To: <20260813160619.52416-1-andrealmeid@igalia.com>

[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

Hi André,

> Date: 2026-08-13 13:06:19-0300
> From: André Almeida <andrealmeid@igalia.com>
>
> The example doesn't compile because it calls the undefined function
> my_futex_wait_private(), which should be my_futex_wake_private().
> 
> Signed-off-by: André Almeida <andrealmeid@igalia.com>

Thanks!  I've applied the patch.


Have a lovely day!
Alex

> ---
>  man/man2/futex_waitv.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/man2/futex_waitv.2 b/man/man2/futex_waitv.2
> index 9dfad84ce..4158f297d 100644
> --- a/man/man2/futex_waitv.2
> +++ b/man/man2/futex_waitv.2
> @@ -352,7 +352,7 @@ worker(void *arg)
>  \&
>  	usleep(*futex * 10000);
>  	*futex *= 2;
> -	my_futex_wait_private(futex, 1);
> +	my_futex_wake_private(futex, 1);
>  	return NULL;
>  }
>  \&
> -- 
> 2.55.0
> 
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-08-22 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-13 16:06 [PATCH] man/man2/futex_waitv.2: Fix example compilation André Almeida
2026-08-22 13:58 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aomqlZqj26mroz96@devuan \
    --to=alx@kernel.org \
    --cc=andrealmeid@igalia.com \
    --cc=linux-man@vger.kernel.org \
    --cc=nabijaczleweli@nabijaczleweli.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.