Re: [PATCH][next] wifi: rtl8xxxu: Avoid -Wflex-array-member-not-at-end warnings

From: Ping-Ke Shih

Date: Fri Nov 21 2025 - 06:13:01 EST



Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> wrote:
> On 11/21/25 19:06, Zenm Chen wrote:
> > Dear maintainers,
> >
> > With this patch applied, my system always freezes right after the rtl8xxxu
> > driver is loaded. is it normal?
>
> I don't think so... It probably means that struct urb urb; cannot really be
> moved to the end of struct rtl8xxxu_rx_urb or struct rtl8xxxu_tx_urb?
>
> It'd be great if you could share a log.
>
> Thanks for the report!
> -Gustavo
>
> >
> > OS: Arch Linux
> > kernel: 6.17.8-arch1-1
> > test devices: RTL8192{CU,EU,FU}
> >

As my review, 'struct urb urb;' seems only a member data.
No order problem.

To have enough time to dig the problem, I'd drop this patch
from my pull-request for now.