[PATCH next] drm/msm/dpu: fix error pointer dereference in msm_kms_init_aspace()

Abhinav Kumar quic_abhinavk at quicinc.com
Tue Feb 25 23:03:16 UTC 2025



On 2/24/2025 11:30 PM, Dan Carpenter wrote:
> If msm_gem_address_space_create() fails, then return right away.
> Otherwise it leads to a Oops when we dereference "aspace" on the next
> line.
> 
> Fixes: 2d215d440faa ("drm/msm: register a fault handler for display mmu faults")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
>   drivers/gpu/drm/msm/msm_kms.c | 1 +
>   1 file changed, 1 insertion(+)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>


More information about the Freedreno mailing list