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 <[email protected]>
---
  drivers/gpu/drm/msm/msm_kms.c | 1 +
  1 file changed, 1 insertion(+)


Reviewed-by: Abhinav Kumar <[email protected]>

Reply via email to