linux-stable/drivers/pci/endpoint
Yang Yingliang fb787dcb30 PCI: endpoint: Fix missing destroy_workqueue()
[ Upstream commit acaef7981a ]

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
Makefile
pci-ep-cfs.c
pci-epc-core.c
pci-epc-mem.c
pci-epf-core.c