[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cc32d1c4-16de-423d-b125-9301154c950d@gmail.com>
Date: Thu, 29 Aug 2024 19:01:29 +0200
From: Raphaël Gallais-Pou <rgallaispou@...il.com>
To: Ma Ke <make24@...as.ac.cn>, alain.volmat@...s.st.com,
maarten.lankhorst@...ux.intel.com, mripard@...nel.org, tzimmermann@...e.de,
airlied@...il.com, daniel@...ll.ch, laurent.pinchart@...asonboard.com,
akpm@...ux-foundation.org
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH RESEND] drm/sti: avoid potential dereference of error
pointers
Le 26/08/2024 à 07:26, Ma Ke a écrit :
> The return value of drm_atomic_get_crtc_state() needs to be
> checked. To avoid use of error pointer 'crtc_state' in case
> of the failure.
>
> Cc: stable@...r.kernel.org
> Fixes: dec92020671c ("drm: Use the state pointer directly in planes atomic_check")
>
> Signed-off-by: Ma Ke <make24@...as.ac.cn>
>
Hi,
Tested-by: Raphaël Gallais-Pou <rgallaispou@...il.com>
Regards,
Raphaël
Powered by blists - more mailing lists