From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.67 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796487228; b=uMdWNCD7hMwiYKl8ul+m4Iz8lgMifm3PbgOxi9CxpL0jsl7G+NQ/wGwyfkQyJ3LCMS3Q GQG7X9oMV3qnxTuGjoe/mvs3smxNdm+TIgeuNnEQaFCQw6mhgr/7MkNJwO9niuavzqNGu LodG4iaz+O0JWLt/9YPMt0nWf8sa9rlTAYg2c7rM7QW1BxUGOPfewVuaqf12v4NIIneWx 7GtKCHwvsNxkAS/veOQR77A2FU/qTQh3hWnl69c3saEJ2cc5cCIKTDyBCrcD71QjupDC1 GBPKIWAJ3eIIlB+9muAzwrgxO1ndZQ6pTraPSA58eg/vwpi2/3aJzvyjOEyWk/qRNlw== 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=RbTqoTFsZIFvFcEFwQL8mSgDZq0pWKyl+KrbifBLDWNAM6MUPvruQ3qPe+vaHBZ7S0SZ Ymni3fgDtOx99gparZ/G1Fc20Gel3tiRB5kME+gXpp3RO8o6VFCHutIzsSa5BteX8a5pc b5Yi/os6Q5125K+j3hDtRDYypiYNz0EfnwnJNm1FYjD1wTrvs3GKzOuTgxtbW7VnPE0br bwGNKtubJyNtYRzgRWZNKK2utd63Z5lw12T+SiLF9x1+T2pmqoQg81qNp8V/zRF04tilj /ZzqzP92VvG+XpFPmFW3GTzqfXlqA8ZSgDiBiEQqoz+D5l0VnVZoqwh57RgnaCAg1sA== 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=91.218.175.67 Received: from mta0.migadu.com (out-67.mta0.migadu.com [91.218.175.67]) (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 3CF6A606A31F for ; Sat, 5 Dec 2026 16:13:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3CF6A606A31F 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-wireless@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-wireless@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-wireless@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