[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2823a19f73ef45a0919e48ef42ce636f@realtek.com>
Date: Mon, 24 Nov 2025 06:37:07 +0000
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Bitterblue Smith <rtl8821cerfe2@...il.com>,
Zenm Chen
<zenmchen@...il.com>,
"gustavo@...eddedor.com" <gustavo@...eddedor.com>
CC: "Jes.Sorensen@...il.com" <Jes.Sorensen@...il.com>,
"gustavoars@...nel.org"
<gustavoars@...nel.org>,
"linux-hardening@...r.kernel.org"
<linux-hardening@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"linux-wireless@...r.kernel.org"
<linux-wireless@...r.kernel.org>
Subject: RE: [PATCH][next] wifi: rtl8xxxu: Avoid
-Wflex-array-member-not-at-end warnings
Hi Bitterblue and Zenm,
Bitterblue Smith <rtl8821cerfe2@...il.com> wrote:
> On 21/11/2025 13:11, Zenm Chen wrote:
> > Gustavo A. R. Silva <gustavo@...eddedor.com> 於 2025年11月21日 週五 下午6:20寫道:
> >>
> >> Hi,
> >>
> >> 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.
> >>
> >
> > Hi,
> >
> > Nothing helpful found from the kernel log. Maybe Realtek drivers maintainer
> > Ping-Ke could take a look what is wrong next Monday.
> >
> [...]
>
> I got something. In my case everything seemed fine until I unplugged the
> wifi adapter. And then the system still worked for a few minutes before
> it froze.
After reviewing uses of rtl8xxxu_rx_urb and rtl8xxxu_tx_urb again, I can't
find obvious problem why it gets wrong.
Could you please try one apply partial change of this patch?
I mean only apply changes of rtl8xxxu_rx_urb or rtl8xxxu_tx_urb to see
which part is the cause. Then, we can focus on the part deeper.
Powered by blists - more mailing lists