Linux-mediatek Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Felix Fietkau <nbd@nbd.name>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Ryder Lee <ryder.lee@mediatek.com>,
	Jakub Kicinski <kuba@kernel.org>
Cc: Shayne Chen <shayne.chen@mediatek.com>,
	Sean Wang <sean.wang@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	linux-wireless@vger.kernel.org,
	linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 RESEND 0/5] wifi: mediatek: drop redundant USB device references
Date: Wed, 3 Jun 2026 16:51:21 +0200	[thread overview]
Message-ID: <aiA_aYcTPizOPhtT@hovoldconsulting.com> (raw)
In-Reply-To: <20260430083335.215239-1-johan@kernel.org>

On Thu, Apr 30, 2026 at 10:33:30AM +0200, Johan Hovold wrote:
> [ This is a resend (with trimmed CC) of the five Mediatek patches which
>   still haven't been picked up from [1]. ]
> 
> 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.

> [1] https://lore.kernel.org/all/20260306085144.12064-1-johan@kernel.org/
> 
> 
> Johan Hovold (5):
>   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

It's now been three months since these were first posted.

Can someone please pick them up?

Johan


      parent reply	other threads:[~2026-06-03 14:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-30  8:33 [PATCH v2 RESEND 0/5] wifi: mediatek: drop redundant USB device references Johan Hovold
2026-04-30  8:33 ` [PATCH v2 RESEND 1/5] wifi: mt76: drop redundant device reference Johan Hovold
2026-04-30  8:33 ` [PATCH v2 RESEND 2/5] wifi: mt76x0u: " Johan Hovold
2026-04-30  8:33 ` [PATCH v2 RESEND 3/5] wifi: mt76x2u: " Johan Hovold
2026-04-30  8:33 ` [PATCH v2 RESEND 4/5] wifi: mt76: mt792xu: " Johan Hovold
2026-04-30  8:33 ` [PATCH v2 RESEND 5/5] wifi: mt7601u: " Johan Hovold
2026-06-03 14:51 ` Johan Hovold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aiA_aYcTPizOPhtT@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=nbd@nbd.name \
    --cc=ryder.lee@mediatek.com \
    --cc=sean.wang@mediatek.com \
    --cc=shayne.chen@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox