From: Ankit Khushwaha <ankitkhushwaha.linux@gmail.com>
To: "André Almeida" <andrealmeid@igalia.com>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
Darren Hart <dvhart@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Shuah Khan <shuah@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
linux-kselftest@vger.kernel.org,
Davidlohr Bueso <dave@stgolabs.net>
Subject: Re: [PATCH] selftests/futex: Fix storing address of local variable
Date: Tue, 18 Nov 2025 22:33:41 +0530 [thread overview]
Message-ID: <aRym7c2crY6rmyKN@fedora> (raw)
In-Reply-To: <078950cf-01d0-42b0-868f-15096afd97e8@igalia.com>
On Tue, Nov 18, 2025 at 01:34:59PM -0300, André Almeida wrote:
> > diff --git a/tools/testing/selftests/futex/functional/robust_list.c b/tools/testing/selftests/futex/functional/robust_list.c
> > index e7d1254e18ca..d1aab1cc5a37 100644
> > --- a/tools/testing/selftests/futex/functional/robust_list.c
> > +++ b/tools/testing/selftests/futex/functional/robust_list.c
> > @@ -510,7 +510,7 @@ TEST(test_robust_list_multiple_elements)
> > static int child_circular_list(void *arg)
> > {
> > static struct robust_list_head head;
> > - struct lock_struct a, b, c;
> > + static struct lock_struct a, b, c;
>
> I believe that the right fix here would be to drop the static from `head`
> declaration, WDYT?
Hi André,
I have tested your suggested changes.
It works fine. will send v2 patch for this.
Thanks,
-- Ankit
prev parent reply other threads:[~2025-11-18 17:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-18 16:26 [PATCH] selftests/futex: Fix storing address of local variable Ankit Khushwaha
2025-11-18 16:34 ` André Almeida
2025-11-18 17:03 ` Ankit Khushwaha [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=aRym7c2crY6rmyKN@fedora \
--to=ankitkhushwaha.linux@gmail.com \
--cc=andrealmeid@igalia.com \
--cc=dave@stgolabs.net \
--cc=dvhart@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox