Re: [PATCH v3][next] tty: tty_buffer: Avoid hundreds of -Wflex-array-member-not-at-end warnings

From: Gustavo A. R. Silva
Date: Thu Feb 06 2025 - 18:23:54 EST



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)

It seems I got a bit too proactive.

What do you think about the rest of the patch?

Thanks!
-Gustavo