Files
linux/drivers/tty/serial
Huang Guobin f4c836d90d tty: Fix a possible resource leak in icom_probe
[ Upstream commit ee157a79e7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 16:52:39 +02:00
..
2020-10-29 09:05:35 +01:00
2022-06-14 16:52:37 +02:00
2022-06-14 16:52:37 +02:00
2019-01-13 10:03:50 +01:00