[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZXs54BYDq5Xjw3rL@orome.fritz.box>
Date: Thu, 14 Dec 2023 18:22:40 +0100
From: Thierry Reding <thierry.reding@...il.com>
To: Chen Ni <nichen@...as.ac.cn>
Cc: mperttunen@...dia.com, airlied@...il.com, daniel@...ll.ch,
jonathanh@...dia.com, dri-devel@...ts.freedesktop.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/tegra: dsi: Add missing check for
of_find_device_by_node
On Tue, Oct 24, 2023 at 08:07:38AM +0000, Chen Ni wrote:
> Add check for the return value of of_find_device_by_node() and return
> the error if it fails in order to avoid NULL pointer dereference.
>
> Fixes: e94236cde4d5 ("drm/tegra: dsi: Add ganged mode support")
> Signed-off-by: Chen Ni <nichen@...as.ac.cn>
> ---
> drivers/gpu/drm/tegra/dsi.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists