[openEuler-5.10 208/557] drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()