[PATCH 6.18 307/614] drm/msm: Fix NULL pointer dereference in crashstate_get_vm_logs()