drm/msm: fix potential null ptr issue in non-iommu case
authorRob Clark <robdclark@gmail.com>
Thu, 12 Jan 2017 22:41:44 +0000 (17:41 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 13 Jan 2017 15:23:00 +0000 (10:23 -0500)
commitde85d2b35ac74f6be769573d4a8708c823219900
tree5b32e7cb9254da81a1babad707e8ef76d56f4d43
parentc57a94ffd0105d58ab104fe383148c5eda5aa033
drm/msm: fix potential null ptr issue in non-iommu case

Fixes: 9cb07b099fb ("drm/msm: support multiple address spaces")
Reported-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_gem.c