From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.110 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796487228; b=bikz+aWG0K5AnaHWNk3D/1h+FQwijr1Fd7YDo9nXJMY9O08jOw1774rUjnpivf5k4+np BbkpD7RmCBSlvFhaPPHRdsfltifHDjyZj8wQDpy7Jui95H+kbXtg2E6S96JzwPEvwE98j bRSkn1BtX+SrqYuW3K9N60OrIMbD6s9xx+NIABnYWovqmnapewQiGkj2+iir9TMWKNy+R UmpCkQU9IOlKnPCXZdKheKE0X4/tNezl+FC+wFXFawuVKe5BvMH8C1GUNhwaxHJPKFMfP Uann7aox+sk0VfTXrN1nv1+evLZpfpJk3A5BknrLhNiYCh2htv/N4DDx+wojtcjVHTA== 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=lv5/7HbQALWVp3FXj/4VxqmNmklrBwDqWascsDwuA3Ibj8nRipVCaxQVx3XiwvjemXWc xddhz2xWlg9VXZdh6+xyrI/gWG/4tjUC/2ZUSNEidJXJs/J2SoXhaS5vrHL8/arJ6IdvT d3cXYDdqZVpJnz+ijZg9D2udKK1raq5ZgV9y5qqOy/r0n84Xupd9ZwWY9zHbKuLsgMpUv roUKT1JEV767sNnxlMvWQr8eh5EGnuZG6gPtfAacL77MjUa8nPutZVpJF6DmMNriJZsAl 8rssEz1pz4jFEwUKIsr27/skYy2BzNY5+EVUqkj5NtKuZeHTE21MwnISyPN3HxoJusg== 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.110 Received: from mta1.migadu.com (out-110.mta1.migadu.com [95.215.58.110]) (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 4DA10606A322 for ; Sat, 5 Dec 2026 16:13:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4DA10606A322 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: stable@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: stable@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: stable@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