diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-03-31 16:40:12 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2021-04-13 11:43:49 +0100 |
commit | acaef7981a218813e3617edb9c01837808de063c (patch) | |
tree | f30cfa389136cc03116ddfb253a433ce1fc14bc1 /lib/timerqueue.c | |
parent | 80c253bd7ffbb40ae550c8ae5bed9126b8f99f96 (diff) |
PCI: endpoint: Fix missing destroy_workqueue()
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: 349e7a85b25fa ("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>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions