summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-11-16 04:27:25 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-11-23 19:36:54 +0300
commit479dd06149425b9e00477f52200872587af76a48 (patch)
treec1b9e52d764a310d3937ca8a973c8dd295b0bf76 /tools/perf/scripts/python/exported-sql-viewer.py
parent8cfa238a48f34038464b99d0b4825238c2687181 (diff)
downloadlinux-479dd06149425b9e00477f52200872587af76a48.tar.xz
i40e: Fix error handling in i40e_init_module()
i40e_init_module() won't free the debugfs directory created by i40e_dbg_init() when pci_register_driver() failed. Add fail path to call i40e_dbg_exit() to remove the debugfs entries to prevent the bug. i40e: Intel(R) Ethernet Connection XL710 Network Driver i40e: Copyright (c) 2013 - 2019 Intel Corporation. debugfs: Directory 'i40e' with parent '/' already present! Fixes: 41c445ff0f48 ("i40e: main driver core") Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel) 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