summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2024-07-18 18:58:46 +0200
committerDanilo Krummrich <dakr@kernel.org>2024-07-22 22:46:07 +0200
commit1b93f3e89d03cfc576636e195466a0d728ad8de5 (patch)
tree6242fb29a304644fbe39ba4bb46c52698747b12a /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentd4b9b6da5777bb03f36f01bb6b05c6cc303ededb (diff)
drm/nouveau: prime: fix refcount underflow
Calling nouveau_bo_ref() on a nouveau_bo without initializing it (and hence the backing ttm_bo) leads to a refcount underflow. Instead of calling nouveau_bo_ref() in the unwind path of drm_gem_object_init(), clean things up manually. Fixes: ab9ccb96a6e6 ("drm/nouveau: use prime helpers") Reviewed-by: Ben Skeggs <bskeggs@nvidia.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240718165959.3983-2-dakr@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions