android_kernel_xiaomi_sm7250/drivers/pci/endpoint
Yang Yingliang fb787dcb30 PCI: endpoint: Fix missing destroy_workqueue()
[ Upstream commit acaef7981a218813e3617edb9c01837808de063c ]

Add the missing destroy_workqueue() before return from
pci_epf_test_init() in the error handling case and add
destroy_workqueue() in pci_epf_test_exit().

Link: https://lore.kernel.org/r/20210331084012.2091010-1-yangyingliang@huawei.com
Fixes: 349e7a85b2 ("PCI: endpoint: functions: Add an EP function to test PCI")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-22 10:59:43 +02:00
..
functions PCI: endpoint: Fix missing destroy_workqueue() 2021-05-22 10:59:43 +02:00
Kconfig PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c PCI: endpoint: Add MSI-X interfaces 2018-07-19 11:34:23 +01:00
pci-epc-core.c PCI: endpoint: Add MSI set maximum restriction 2018-07-19 11:47:25 +01:00
pci-epc-mem.c PCI: endpoint: Fix for concurrent memory allocation in OB address region 2020-04-17 10:48:46 +02:00
pci-epf-core.c PCI: endpoint: Fix NULL pointer dereference error when CONFIGFS is disabled 2018-07-09 15:19:51 -05:00