kasprintf() returns a pointer to dynamically allocated memoryReviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
which can be NULL upon failure. Ensure the allocation was successful
by checking the pointer validity.
Fixes: a9e2559c931d ("drm/msm/gpu: Move zap shader loading to adreno")
Signed-off-by: Kunwu Chan <chentao@xxxxxxxxxx>
---