aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-11-14 10:57:58 +0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-11-23 08:36:54 -0800
commit8cfa238a48f34038464b99d0b4825238c2687181 (patch)
tree817c46a3551e9782e9223f6bbe71e160a6fc20f3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentnet/cdc_ncm: Fix multicast RX support for CDC NCM devices with ZLP (diff)
downloadwireguard-linux-8cfa238a48f34038464b99d0b4825238c2687181.tar.xz
wireguard-linux-8cfa238a48f34038464b99d0b4825238c2687181.zip
ixgbevf: Fix resource leak in ixgbevf_init_module()
ixgbevf_init_module() won't destroy the workqueue created by create_singlethread_workqueue() when pci_register_driver() failed. Add destroy_workqueue() in fail path to prevent the resource leak. Similar to the handling of u132_hcd_init in commit f276e002793c ("usb: u132-hcd: fix resource leak") Fixes: 40a13e2493c9 ("ixgbevf: Use a private workqueue to avoid certain possible hangs") Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Reviewed-by: Saeed Mahameed <saeed@kernel.org> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions