Re: [PATCH v3][next] tty: tty_buffer: Avoid hundreds of -Wflex-array-member-not-at-end warnings
From: Greg Kroah-Hartman
Date: Fri Feb 07 2025 - 04:38:38 EST
On Fri, Feb 07, 2025 at 09:53:30AM +1030, Gustavo A. R. Silva wrote:
>
> > > unsigned int used;
> > > unsigned int size;
> > > unsigned int commit;
> > > - unsigned int lookahead; /* Lazy update on recv, can become less than "read" */
> > > + unsigned int lookahead; /* Lazy update on recv, can become less than "read" */
> >
> > Coding style change?
>
> (Whaa? for some reason your response didn't reach my inbox until today)
Sorry, my email was stuck on my system for a day, my fault.
> It seems I got a bit too proactive.
>
> What do you think about the rest of the patch?
I agree with Jiri's comments, and overall I like it as a way forward.
thanks,
greg k-h