summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-06-13 20:41:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-21 10:52:59 +0200
commit0739a93a0a9b9d2af1bdc904fd2a485ec71926a1 (patch)
tree983642e7a3e06bebbe60366a739a94446b32fa0e /lib/dynamic_debug.c
parent2761f9d3d47bcad9cde1977f7571758741b016ae (diff)
drm/nouveau: fix multiple instances of reference count leaks
[ Upstream commit 659fb5f154c3434c90a34586f3b7aa1c39cf6062 ] On calling pm_runtime_get_sync() the reference count of the device is incremented. 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions