Re: [PATCH v2 00/18] wifi: drop redundant USB device references

From: Johan Hovold

Date: Tue Mar 24 2026 - 04:49:33 EST


On Tue, Mar 24, 2026 at 08:40:10AM +0000, Ping-Ke Shih wrote:
> Johan Hovold <johan@xxxxxxxxxx> wrote:
> > On Fri, Mar 06, 2026 at 09:51:26AM +0100, Johan Hovold wrote:
> > > Driver core holds a reference to the USB interface and its parent USB
> > > device while the interface is bound to a driver and there is no need to
> > > take additional references unless the structures are needed after
> > > disconnect.
> > >
> > > Drop redundant device references to reduce cargo culting, make it easier
> > > to spot drivers where an extra reference is needed, and reduce the risk
> > > of memory leaks when drivers fail to release them.
> >
> > > Johan Hovold (18):
> >
> > > wifi: mt76: drop redundant device reference
> > > wifi: mt76x0u: drop redundant device reference
> > > wifi: mt76x2u: drop redundant device reference
> > > wifi: mt76: mt792xu: drop redundant device reference
> > > wifi: mt7601u: drop redundant device reference
> >
> > All of these are now in linux-next except for the five Mediatek fixes.
> >
> > Could someone pick them up as well? Not sure which tree they'd usually
> > go through.
>
> wifi: rtl818x: drop redundant device reference
> wifi: rtl8xxxu: drop redundant device reference
> wifi: rtw88: fix device leak on probe failure
>
> Realtek WiFi got merged into my tree (not in linux-next yet), and I plan to
> send pull-request to wireless tree before 7.1 merge window.

Yes, sorry, I forgot to mention that. I got a message about these having
been picked up so I didn't include them in the list above. Thanks.

Johan