Re: [PATCH RESEND] tpm: eventlog: Replace zero-length array with flexible-array member

From: Gustavo A. R. Silva
Date: Wed May 13 2020 - 19:09:46 EST


On Thu, May 14, 2020 at 12:39:05AM +0300, Jarkko Sakkinen wrote:
> >
> > [1] https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html
> > [2] https://github.com/KSPP/linux/issues/21
> > [3] commit 76497732932f ("cxgb3/l2t: Fix undefined behaviour")
> > [4] https://github.com/KSPP/linux/issues/43
> >
> > Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
>
> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
>

Hi Jarkko,

Thanks for your RB.

There is a v2 of this patch:

20200508163826.GA768@embeddedor/">https://lore.kernel.org/lkml/20200508163826.GA768@embeddedor/

Thanks
--
Gustavo