diff options
author | Aditya Pakki <pakki001@umn.edu> | 2020-06-13 20:48:37 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-07-24 18:50:49 +1000 |
commit | 8f29432417b11039ef960ab18987c7d61b2b5396 (patch) | |
tree | 169963d8afdd979c385397f9635b58783642b5e6 /drivers/hwtracing/coresight | |
parent | 990a1162986e8eff7ca18cc5a0e03b4304392ae2 (diff) |
drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek
nouveau_debugfs_strap_peek() calls pm_runtime_get_sync() that
increments the reference count. In case of failure, decrement the
ref count before returning the error.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/hwtracing/coresight')
0 files changed, 0 insertions, 0 deletions