diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2024-09-30 18:37:42 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2024-10-01 18:37:14 +0200 |
commit | 282864cc5d3f144af0cdea1868ee2dc2c5110f0d (patch) | |
tree | e122f96a67e46cb2f4ae22cd5587ea75ee7e357a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fa998a9eac8809da4f219aad49836fcad2a9bf5c (diff) | |
download | linux-282864cc5d3f144af0cdea1868ee2dc2c5110f0d.tar.gz linux-282864cc5d3f144af0cdea1868ee2dc2c5110f0d.tar.bz2 linux-282864cc5d3f144af0cdea1868ee2dc2c5110f0d.zip |
drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()
The group variable can't be used to retrieve ptdev in our second loop,
because it points to the previously iterated list_head, not a valid
group. Get the ptdev object from the scheduler instead.
Cc: <stable@vger.kernel.org>
Fixes: d72f049087d4 ("drm/panthor: Allow driver compilation")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@inria.fr>
Closes: https://lore.kernel.org/r/202409302306.UDikqa03-lkp@intel.com/
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240930163742.87036-1-boris.brezillon@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions