aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/int3472/discrete.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-12-29 07:25:33 +0000
committerHans de Goede <[email protected]>2023-01-12 19:04:38 +0000
commitccb32e2be14271a60e9ba89c6d5660cc9998773c (patch)
tree256620d7c17091b6190c6b06b1da074426f1ba86 /drivers/platform/x86/intel/int3472/discrete.c
parentplatform/x86: intel/pmc/core: Add Meteor Lake mobile support (diff)
downloadkernel-ccb32e2be14271a60e9ba89c6d5660cc9998773c.tar.gz
kernel-ccb32e2be14271a60e9ba89c6d5660cc9998773c.zip
platform/x86/amd: Fix refcount leak in amd_pmc_probe
pci_get_domain_bus_and_slot() takes reference, the caller should release the reference by calling pci_dev_put() after use. Call pci_dev_put() in the error path to fix this. Fixes: 3d7d407dfb05 ("platform/x86: amd-pmc: Add support for AMD Spill to DRAM STB feature") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/int3472/discrete.c')
0 files changed, 0 insertions, 0 deletions