aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFedor Pchelkin <[email protected]>2023-12-15 12:33:55 +0300
committerThierry Reding <[email protected]>2024-02-22 18:29:22 +0100
commit32e5a120a5105bce01561978ee55aee8e40ac0dc (patch)
treec5a3065efa1a7ffcf373bda1bc5b87beeebd0541 /tools/perf/scripts/python
parenta3baaca4a8766e9386e472d97315e5c131beb87d (diff)
drm/tegra: put drm_gem_object ref on error in tegra_fb_create
Inside tegra_fb_create(), drm_gem_object_lookup() increments ref count of the found object. But if the following size check fails then the last found object's ref count should be put there as the unreferencing loop can't detect this situation. Found by Linux Verification Center (linuxtesting.org). Fixes: de2ba664c30f ("gpu: host1x: drm: Add memory manager and fb") Signed-off-by: Fedor Pchelkin <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions