diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-10-04 16:45:30 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-15 13:26:34 -0700 |
commit | 3d91e50ff58364f6572ad268b508175d27800e51 (patch) | |
tree | 3a1f93dc5f2962cc4974b4afa7bf71cb734885fe /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bf94ec093d05e3ed3142d9291b876eeb9997ba5c (diff) |
drm/msm: Fix potential Oops in a6xx_gmu_rpmh_init()
There are two problems here:
1) The "seqptr" is used uninitalized when we free it at the end.
2) The a6xx_gmu_get_mmio() function returns error pointers. It never
returns true.
Fixes: 64245fc55172 ("drm/msm/a6xx: use AOP-initialized PDC for a650")
Fixes: f8fc924e088e ("drm/msm/a6xx: Fix PDC register overlap")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211004134530.GB11689@kili
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions