diff options
| author | Wentao Guan <[email protected]> | 2024-09-24 07:32:20 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-09-24 07:32:20 +0000 |
| commit | 5016c3a31a6d74eaf2fdfdec673eae8fcf90379e (patch) | |
| tree | 3588ee06fb8900fc73ec3bd683805d896e925f9b /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | LoongArch: Simplify _percpu_read() and _percpu_write() (diff) | |
| download | kernel-5016c3a31a6d74eaf2fdfdec673eae8fcf90379e.tar.gz kernel-5016c3a31a6d74eaf2fdfdec673eae8fcf90379e.zip | |
LoongArch: Fix memleak in pci_acpi_scan_root()
Add kfree(root_ops) in this case to avoid memleak of root_ops,
leaks when pci_find_bus() != 0.
Signed-off-by: Yuli Wang <[email protected]>
Signed-off-by: Wentao Guan <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
