diff options
author | 2021-10-13 11:11:33 +0300 | |
---|---|---|
committer | 2021-10-15 16:56:07 -0700 | |
commit | 027d052a36e56789a2134772bacb4fd0860f03a3 (patch) | |
tree | f2e5ac181302c166fdee0569a53b917c658e9f73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/msm: unlock on error in get_sched_entity() (diff) | |
download | wireguard-linux-027d052a36e56789a2134772bacb4fd0860f03a3.tar.xz wireguard-linux-027d052a36e56789a2134772bacb4fd0860f03a3.zip |
drm/msm: fix potential NULL dereference in cleanup
The "msm_obj->node" list needs to be initialized earlier so that the
list_del() in msm_gem_free_object() doesn't experience a NULL pointer
dereference.
Fixes: 6ed0897cd800 ("drm/msm: Fix debugfs deadlock")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211013081133.GF6010@kili
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions