Re: [PATCH] tools/testing: Replace zero-length array with flexible-array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux