diff options
author | Brian Masney <masneyb@onstation.org> | 2019-05-14 01:41:05 +0200 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-05-14 19:53:58 +0200 |
commit | 90f94660e53189755676543954101de78c26253b (patch) | |
tree | e4054d66113152fc770d87ca540cf2c888a64a02 /drivers/gpu/drm/drm_atomic_uapi.c | |
parent | drm/msm: remove resv fields from msm_gem_object struct (diff) | |
download | linux-90f94660e53189755676543954101de78c26253b.tar.xz linux-90f94660e53189755676543954101de78c26253b.zip |
drm/msm: correct attempted NULL pointer dereference in debugfs
msm_gem_describe() would attempt to dereference a NULL pointer via the
address space pointer when no IOMMU is present. Correct this by adding
the appropriate check.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Fixes: 575f0485508b ("drm/msm: Clean up and enhance the output of the 'gem' debugfs node")
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190513234105.7531-2-masneyb@onstation.org
Diffstat (limited to 'drivers/gpu/drm/drm_atomic_uapi.c')
0 files changed, 0 insertions, 0 deletions