[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZnFPL2BeQOEGPO6Q@duo.ucw.cz>
Date: Tue, 18 Jun 2024 11:11:11 +0200
From: Pavel Machek <pavel@...x.de>
To: Sasha Levin <sashal@...nel.org>
Cc: linux-kernel@...r.kernel.org, stable@...r.kernel.org,
Jesse Zhang <jesse.zhang@....com>,
Christian König <christian.koenig@....com>,
Alex Deucher <alexander.deucher@....com>, Xinhui.Pan@....com,
airlied@...il.com, daniel@...ll.ch, Felix.Kuehling@....com,
shashank.sharma@....com, guchun.chen@....com, Philip.Yang@....com,
mukul.joshi@....com, xiaogang.chen@....com,
amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH AUTOSEL 6.1 13/14] drm/amdgpu: fix dereference null
return value for the function amdgpu_vm_pt_parent
Hi!
> [ Upstream commit a0cf36546cc24ae1c95d72253c7795d4d2fc77aa ]
>
> The pointer parent may be NULLed by the function amdgpu_vm_pt_parent.
> To make the code more robust, check the pointer parent.
If this can happen, it should not WARN().
If this can not happen, we don't need the patch in stable.
Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists