aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorLuca Weiss <[email protected]>2023-05-08 22:26:45 +0200
committerRob Clark <[email protected]>2023-05-11 07:40:30 -0700
commitdb40d2928d245f3a6cba9a6a2547ec955b00f0fc (patch)
tree32d69d022ef5667f0059c366222579e162fbce01 /lib/mpi/mpi-mul.c
parentca29699a57ecee6084a4056f5bfd6f11dd359a71 (diff)
drm/msm/iommu: Fix null pointer dereference in no-IOMMU case
In the case that no IOMMU is available, msm_iommu_new can return NULL which should be handled. Without we will get a NULL pointer dereference in the next statement when we try to use the mmu variable. Fixes: 8cceb773f565 ("drm/msm/adreno: stall translation on fault for all GPU families") Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/535915/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions