diff options
| author | Huang Guobin <[email protected]> | 2022-03-31 17:10:05 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-15 08:42:40 +0200 |
| commit | ee157a79e7c82b01ae4c25de0ac75899801f322c (patch) | |
| tree | edab443a71924d6f7851f389e50dbe86d59da6c9 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 570f749f4d54bd2db9b44c51aac3a6883f45a171 (diff) | |
tty: Fix a possible resource leak in icom_probe
When pci_read_config_dword failed, call pci_release_regions() and
pci_disable_device() to recycle the resource previously allocated.
Reviewed-by: Jiri Slaby <[email protected]>
Signed-off-by: Huang Guobin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions