diff options
author | Dan Carpenter <[email protected]> | 2021-10-04 13:38:06 +0300 |
---|---|---|
committer | Rob Clark <[email protected]> | 2021-10-15 13:26:34 -0700 |
commit | b6816441a14bbe356ba8590de79cfea2de6a085c (patch) | |
tree | 565ecd3e2650a87eba381c3f965500b3071c6f6e /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 3d91e50ff58364f6572ad268b508175d27800e51 (diff) |
drm/msm: potential error pointer dereference in init()
The msm_iommu_new() returns error pointers on failure so check for that
to avoid an Oops.
Fixes: ccac7ce373c1 ("drm/msm: Refactor address space initialization")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Abhinav Kumar <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/20211004103806.GD25015@kili
Signed-off-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions