From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.109 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796487228; b=YQ0eyZgNkah1pQJksxP4iOXjp2tcb5U2XVXxBFzxBvdQa4c/7xdxGtSyVJfbQJoYQTDb wKv4EoG9Ezktq1eY2/z44YS/lk9pddg5P5mA2K92+RKvwlgRhQkbjpNTishIwX3PAJxEG //dXy7rkfvlq2A0s+HYf1FkIlaIf1aaa9fLtYn/gg0OvyB+GGkuov/5/537zgGDz0J6bP 7Y6kb0XM1/OEeVffZ7vNNXgWJI+iZS10n2sr6rLbxe8gmTfG/sBQEEfDwxed2kHyPQhbS HMwR0L4kNvVuTA2EGx7OmJazcey9Aug6TZ11h3VCKcFAD44NbQlL3TNW0dvodH53Keg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796487228; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:MIME-Version:Date:Content-Type: Content-Transfer-Encoding:From:Message-ID:TLS-Required:Subject:To:Cc: In-Reply-To:References; bh=ctv4oK6QEnDCIE22xCytdzUunU1wPtchpEvKbbN/V5c=; b=YzV9eKO5u7vMCemD+84ualuiUZRC1Ts/e42TQuL2IxlqIwFWAYJPsOd/DgLm3ARqxdBz esYKliTeUnu0gQ0xDyiPGJvVDOiT5kTkYtS/UQq4ukLNLJfq3H6AgnLcXb1zXXQlPS8QL cKrTc1YEZwIKEVahCEGUqBB00Q5aeDQpFAq1/ZsETuW14nPFy/r1xXj6BYWB1kNvqHPwV 6s54K04h07uRN44tmZaKy3qNYsrN8QOt+KV9xXSknpqfq4hfqW4+PE9pgT0HiyWiicqkV BvNZnJHSu+uRF594rVxrbFoGHpkinkv6ERqv2AkBRiJ5MSbRZAIaCa6VLC6ORiIIlKA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=OSrOEJqh; arc=none smtp.remote-ip=95.215.58.109 Received: from mta1.migadu.com (out-109.mta1.migadu.com [95.215.58.109]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 584C4606A32F for ; Sat, 5 Dec 2026 16:13:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 584C4606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=OSrOEJqh X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=ctv4oK6QEnDCIE22xCytdzUunU1wPtchpEvKbbN/V5c=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796487225; v=1; x=1797092025; b=OSrOEJqh9fxQDuMQB8QU4U49XB0vDlijpRlCuMg5ZbYzow2yk+2euqgd7DmZZdlTl55UR+Nz UqiZU49oXaBSLqdwNP8i+s+cUrQy2Ksyf7bfqJj0hWncB3B4PulkeotshHuOchZjab2J/ot2B8P nRH/4pZhrcErVfyiFDb8sp9Y= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 53e1b74447a29b4a; Sat, 05 Dec 2026 16:13:45 +0000 X-Mizu-Trace-ID: 53e1b74447a29b4a X-Migadu-Flow: FLOW_OUT X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Date: Sat, 05 Dec 2026 16:13:44 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "Luka Gejak" Message-ID: TLS-Required: No Subject: Re: [PATCH] wifi: rtw88: Unregister all hardware state when PCI IRQ setup fails To: "Shuo Qin" <23159100078@stu.xidian.edu.cn>, "Ping-Ke Shih" Cc: "Bitterblue Smith" , linux-wireless@vger.kernel.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org, "Bin Yu" , "Cheng Wen" , "XinCheng Wang" <26031212453@stu.xidian.edu.cn> In-Reply-To: <20261205095454.114293-1-23159100078@stu.xidian.edu.cn> References: <20261205095454.114293-1-23159100078@stu.xidian.edu.cn> Hi Shuo, The prefered prefix for rtw next related patches is [PATCH rtw-next] instead of plain [PATCH]. I do not think it is worth sending v2 for this, but keep it in mind for future submissions. December 5, 2026 at 10:54 AM, "Shuo Qin" <23159100078@stu.xidian.edu.cn> = wrote: >=20 >=20rtw_register_hw() registers the LED class device and creates debugfs > entries as well as registering the mac80211 hardware. If the following > IRQ request fails, rtw_pci_probe() only calls ieee80211_unregister_hw() > before freeing the hardware and its private driver state. >=20 >=20The LED remains registered with callbacks that access the freed rtw_d= ev. > Use rtw_unregister_hw() to undo the complete registration, including th= e > LED and debugfs state, before releasing the allocation. >=20 >=20Fixes: 4b6652bc6d8d ("wifi: rtw88: Add support for LED blinking") > Cc: stable@vger.kernel.org > Co-developed-by: Bin Yu > Signed-off-by: Bin Yu > Co-developed-by: Cheng Wen > Signed-off-by: Cheng Wen > Signed-off-by: Shuo Qin <23159100078@stu.xidian.edu.cn> > --- Looks good to me, Reviewed-by: Luka Gejak Best regards, Luka Gejak