[PATCH] drm/komeda: check for error-valued pointer

Maxime Ripard mripard at kernel.org
Mon Jun 10 11:22:37 UTC 2024


On Mon, Jun 10, 2024 at 11:20:56AM GMT, Amjad Ouled-Ameur wrote:
> komeda_pipeline_get_state() may return an error-valued pointer, thus
> check the pointer for negative or null value before dereferencing.
> 
> Signed-off-by: Amjad Ouled-Ameur <amjad.ouled-ameur at arm.com>

I've added a Fixes tag and applied to drm-misc-fixes, thanks!
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240610/6630e531/attachment.sig>


More information about the dri-devel mailing list