summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2022-11-14 11:26:40 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-11-23 19:37:33 +0300
commit227d8d2f7f2278b8468c5531b0cd0f2a905b4486 (patch)
treeb249406a26ec682b7e84cd52bd7b85be7dc285c5 /tools/perf/scripts/python/exported-sql-viewer.py
parent771a794c0a3c3e7f0d86cc34be4f9537e8c0a20c (diff)
downloadlinux-227d8d2f7f2278b8468c5531b0cd0f2a905b4486.tar.xz
iavf: Fix error handling in iavf_init_module()
The iavf_init_module() won't destroy workqueue when pci_register_driver() failed. Call destroy_workqueue() when pci_register_driver() failed to prevent the resource leak. Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak") Fixes: 2803b16c10ea ("i40e/i40evf: Use private workqueue") Signed-off-by: Yuan Can <yuancan@huawei.com> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions