From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 E6F3F3DBD55; Fri, 17 Jul 2026 08:54:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784278474; cv=none; b=uOZaBv+sUAeS+yG/zYa9DUVnVe66KnafAaDk0Gw0afsNW+tOaHgj47hiSmfKYFp/3sVHWDfkAOFKOGj9KI4+CnbeNu3gdypVghMGZkbog8TE5xPUcCBJrl8zMxztB65KMtsg/2fc2gt2ukmZH9ASsm+NoETxTSPbvfphbey/G5Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784278474; c=relaxed/simple; bh=BEYZN1gsE00bNy2RhBPWQX/sexeJySVyt/uEk+jzRRc=; h=Message-ID:Date:From:To:Subject:In-Reply-To:References:Cc; b=Oi/DdfD3eHfYuXoePoMK1okpOBkq4f6hh4pWkJXL+Q1aN+RJNqjfZcPjUIPurO0b6zW77CXk0H9zeosdT1x6lMrDopMzoccoQzWor4CSJBHObzqWpEox34gBHP/CGKn0oZ05dxOK8dVKQOibxIuBkZjOm881ZSjeKbF5+wJr4KM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ncGz03oZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ncGz03oZ" 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" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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