summaryrefslogtreecommitdiff
path: root/kernel/locking
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-06-13 20:22:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 11:26:46 +0200
commit2adf6ec63db23d1c2d9664d3b782b9d22b9cd7f8 (patch)
tree8586fb7a87d4276751940989b15523f682522711 /kernel/locking
parent19e81f6325a95f5266cbc57f3302d65f7c3aa338 (diff)
drm/nouveau: Fix reference count leak in nouveau_connector_detect
[ Upstream commit 990a1162986e8eff7ca18cc5a0e03b4304392ae2 ] nouveau_connector_detect() calls pm_runtime_get_sync and in turn 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions