From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC9E9C44514 for ; Fri, 17 Jul 2026 08:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:References:In-Reply-To: Subject:To:From:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gbXEXDyktb/emElv9ERYPAM0g9y0ylQRk+hv1zTqJlA=; b=cWif+KrqCKK+Wr GaxXlYDX2BFFtECr0MK8fzQXjZfJQM3U0zE9TZ17QDRDqcmMq3wc0xE90DAFTPMs02B/VjpT22U6u S+OtqWm5fyIdQJsy0SauZJ7u9cP0LlUe77hnJSQoDw0jp5TBgtl/JZcEnxXp0YYNWimduQgfbVwIf gihucMvFoSMFmcXeOKWybBSH96EEu/azinyFQDHWkjT0ESRNK4E4/JQOtXymyj5qBkDCK6pbQhF4N sKAfXjwBF9ZtpsdkZHcM6zE3LsRb1L/UKEbhA/0R5TsYlDJVNjkomOLqZaCbWJ/djXuzjmlS7Q5NQ g6wGU3uh0ci7MumKp9tg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkeL2-00000001jnq-3k3F; Fri, 17 Jul 2026 08:54:32 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkeL1-00000001jmI-31Kh; Fri, 17 Jul 2026 08:54:31 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 5E47540732; Fri, 17 Jul 2026 08:54:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A82D1F000E9; Fri, 17 Jul 2026 08:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784278471; bh=6csmYI19hiSya7Sts1kiN+uRFS2fgNQzCnN1S8iT0wc=; h=Date:From:To:Subject:In-Reply-To:References:Cc; b=ncGz03oZP8oe3VMVZx1V+iz8cg02xKQcCfQRSMDNRr7tDEIjBcm4LLS/PdSF2Do61 Leq1alJYiygsmQW4bhK8UzZ6s+cHkRvo3TAVJfm4ztCatSZCi+bmy8CXRAX9kID5/k tG4m/i0I0TYhjd7aGySO9EI5SXCHQ6O659dIPuZRQhlig+7Mg0DHBK7JYXCNIPfOoN GVFzV8vGgX1EwBBBemuF4B/gWLMgowlo+0qgqCI/waF8OCTQB37ImoEkRLIgj/RmWS If0cjrB3nQPdrnnegzQUj91Veirsu5COrpJf8MDmE00sXU7LIbXVeduCKFao9VrF9K /KBQJhQJqX2TA== Message-ID: <6a107326b65320208c7eaa14a3192433@kernel.org> Date: Fri, 17 Jul 2026 08:54:29 +0000 From: "Maxime Ripard" To: "Albert Esteve" Subject: Re: [PATCH v2 4/5] drm/panel: find_panel_by_fwnode() return a counted reference In-Reply-To: <20260713-drm_refcount_wiring-v2-4-d3bb61f4bd4d@redhat.com> References: <20260713-drm_refcount_wiring-v2-4-d3bb61f4bd4d@redhat.com> Cc: dri-devel@lists.freedesktop.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, "Alain Volmat" , "Alexandre Torgue" , "Alim Akhtar" , "Alison Wang" , "Andrzej Hajda" , "Andy Yan" , "Biju Das" , "Chen-Yu Tsai" , "David Airlie" , "Fabio Estevam" , "Frank Li" , "Geert Uytterhoeven" , =?utf-8?b?SGVpa28gU3TDvGJuZXI=?= , "Inki Dae" , "Jagan Teki" , "Jernej Skrabec" , "Jessica Zhang" , "Jingoo Han" , "Jonas Karlman" , "Jonathan Hunter" , "Jyri Sarha" , "Kieran Bingham" , "Krzysztof Kozlowski" , "Kyungmin Park" , "Laurent Pinchart" , "Laurent Pinchart" , "Laurentiu Palcu" , "Linus Walleij" , "Luca Ceresoli" , "Lucas Stach" , "Maarten Lankhorst" , "Magnus Damm" , "Marek Szyprowski" , "Marek Vasut" , "Maxime Coquelin" , "Maxime Ripard" , "Mikko Perttunen" , "Neil Armstrong" , "Paul Cercueil" , "Paul Kocialkowski" , "Pengutronix Kernel Team" , "Peter Griffin" , "Philippe Cornu" , "Raphael Gallais-Pou" , "Raphael Gallais-Pou" , "Robert Foss" , "Samuel Holland" , "Sandy Huang" , "Sascha Hauer" , "Seung-Woo Kim" , "Simona Vetter" , "Stefan Agner" , "Thierry Reding" , "Thomas Zimmermann" , "Tomi Valkeinen" , "Yannick Fertre" X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Mon, 13 Jul 2026 13:53:07 +0200, Albert Esteve wrote: > find_panel_by_fwnode() is the fwnode-based counterpart to > of_drm_find_panel(), used internally by drm_panel_add_follower(). > Like of_drm_find_panel(), it returned an unrefcounted pointer, > leaving a window where the panel could be freed between the lookup > and first use. > > [ ... ] Acked-by: Maxime Ripard Thanks! Maxime _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip