From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41EB63D6CA2; Tue, 24 Mar 2026 08:45:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774341912; cv=none; b=Rq//TCDG1ecVblE7Q5nwq+HbjHfjguyQjXiF6tV8+1ozN/2k2kb4gaK26a6WG2tSup0YYqmVKtcMZT+sEI6fjooEOEyrs3Y0hTaJhrBRCSf3mBhkuGUJGncELtdXatPi2ICE8/L9133/U6vltlbV3sgegYGSJPVXi9EV/GSzCTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774341912; c=relaxed/simple; bh=goMkGC7BolvvE8+pUGBAzX/lhVatTopqaC3j1nsm1Gs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=plusgyP8+FehPjFYl6jOXx/Ek+PMbNT90qX37WT65h3+9ZTQ2KmFgGZEejizXjmSYv4UL4bjQiwlcMFbR52GtS9WzI7lXsmY/s8WJEQyGMZVgUpbUlL8NXoj1qGdA9eZnQ8Rr98/sx2uzKSJm2vFgVnfmw3cD9/MIXZ+tJAV4cw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uSTjXfxN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uSTjXfxN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9259C19424; Tue, 24 Mar 2026 08:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774341911; bh=goMkGC7BolvvE8+pUGBAzX/lhVatTopqaC3j1nsm1Gs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uSTjXfxNWd5zJBYeTLHp9rxIe/dbWQxQfASoZYJClBDVrXG4sHbJMdpLhsMdSPuS5 +jmsKdy7bnhc3V/S7JuZe2WE4oUA2hQKE5fiRKgbC2eiEDFtR2knJk7CY+/4u5+a49 0f1ySzA+HbydlAID8Yk4SfJXVSHseFuvzWLGGpNDk0nrWq/9Sk6/Xz+9qgP0bq1rzF 3ww+Niqra3R8b60JiTMyNa8nTv1tV6sRrpWHfIQ8LAWzp9s+gEQ1NlkkUzTbgPVnsk jS36aMlw17Llm9j4+ZDCKV1uW4UXNBc0ayX6tocQXawUB4YR7ezQHD+0m3q5fPbACI aR7thkDgUhTFA== Received: from johan by xi.lan with local (Exim 4.98.2) (envelope-from ) id 1w4xNt-00000003nBl-1Fam; Tue, 24 Mar 2026 09:45:09 +0100 Date: Tue, 24 Mar 2026 09:45:09 +0100 From: Johan Hovold To: Ping-Ke Shih Cc: "linux-wireless@vger.kernel.org" , Jeff Johnson , Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , Brian Norris , Francesco Dolcini , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Jakub Kicinski , Stanislaw Gruszka , Hin-Tak Leung , Jes Sorensen , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Matthias Brugger , AngeloGioacchino Del Regno , Greg Kroah-Hartman , "libertas-dev@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 00/18] wifi: drop redundant USB device references Message-ID: References: <20260306085144.12064-1-johan@kernel.org> <923278a6deae44f4bec8bc2ede1022a1@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <923278a6deae44f4bec8bc2ede1022a1@realtek.com> On Tue, Mar 24, 2026 at 08:40:10AM +0000, Ping-Ke Shih wrote: > Johan Hovold 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