linux_dsm_epyc7002/drivers/pci/endpoint
Yang Yingliang fd65cac30d 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-19 10:13:02 +02:00
..
functions PCI: endpoint: Fix missing destroy_workqueue() 2021-05-19 10:13:02 +02:00
Kconfig
Makefile
pci-ep-cfs.c
pci-epc-core.c PCI: endpoint: Make *_free_bar() to return error codes on failure 2021-05-19 10:13:01 +02:00
pci-epc-mem.c
pci-epf-core.c