All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
To: Shuah Khan <skhan@linuxfoundation.org>
Cc: Shuah Khan <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tools/testing: Replace zero-length array with flexible-array
Date: Thu, 7 May 2020 18:04:26 -0500	[thread overview]
Message-ID: <20200507230426.GA23186@embeddedor> (raw)
In-Reply-To: <94b19470-9ade-5fcc-00c7-324056d049de@linuxfoundation.org>

On Thu, May 07, 2020 at 01:04:14PM -0600, Shuah Khan wrote:
> > 
> > diff --git a/tools/testing/selftests/nsfs/pidns.c b/tools/testing/selftests/nsfs/pidns.c
> > index e0d86e1668c0..e3c772c6a7c7 100644
> > --- a/tools/testing/selftests/nsfs/pidns.c
> > +++ b/tools/testing/selftests/nsfs/pidns.c
> > @@ -27,7 +27,7 @@
> >   #define __stack_aligned__	__attribute__((aligned(16)))
> >   struct cr_clone_arg {
> >   	char stack[128] __stack_aligned__;
> > -	char stack_ptr[0];
> > +	char stack_ptr[];
> >   };
> >   static int child(void *args)
> > 
> 
> Thanks for the patch. I will pull this in for 5.7-rc6
> 

Thanks, Shuah.

--
Gustavo


      reply	other threads:[~2020-05-07 23:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07 18:56 [PATCH] tools/testing: Replace zero-length array with flexible-array Gustavo A. R. Silva
2020-05-07 19:04 ` Shuah Khan
2020-05-07 23:04   ` Gustavo A. R. Silva [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=20200507230426.GA23186@embeddedor \
    --to=gustavoars@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=shuah@kernel.org \
    --cc=skhan@linuxfoundation.org \
    /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.