[PATCH] drm/amd/display: Check pipe_ctx before it is used

Markus Elfring Markus.Elfring at web.de
Mon Jun 24 17:16:35 UTC 2024


> resource_get_otg_master_for_stream() could return NULL, we
> should check the return value of 'otg_master' before it is
> used in resource_log_pipe_for_stream().

A similar fix was integrated already according to a contribution
by Natanel Roizenman.
>From which Linux version did you take source files for your static code analyses?

Please take another look at the corresponding software update.
[PATCH 16/37] drm/amd/display: Add null check in resource_log_pipe_topology_update
https://lore.kernel.org/amd-gfx/20240422152817.2765349-17-aurabindo.pillai@amd.com/

Regards,
Markus


More information about the dri-devel mailing list