Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 745ed17a authored by Pan Bian's avatar Pan Bian Committed by Hans de Goede
Browse files

platform/x86: amd-pmc: put device on error paths


Put the PCI device rdev on error paths to fix potential reference count
leaks.

Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/20210121045005.73342-1-bianpan2016@163.com


Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent eabe5339
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment