diff options
| author | Huang Guobin <huangguobin4@huawei.com> | 2022-03-31 12:10:05 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 09:42:40 +0300 |
| commit | ee157a79e7c82b01ae4c25de0ac75899801f322c (patch) | |
| tree | edab443a71924d6f7851f389e50dbe86d59da6c9 /tools/perf/scripts/python/bin | |
| parent | 570f749f4d54bd2db9b44c51aac3a6883f45a171 (diff) | |
| download | linux-ee157a79e7c82b01ae4c25de0ac75899801f322c.tar.xz | |
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 <jirislaby@kernel.org>
Signed-off-by: Huang Guobin <huangguobin4@huawei.com>
Link: https://lore.kernel.org/r/20220331091005.3290753-1-huangguobin4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
