summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-11-11 10:04:33 +0300
committerDavid S. Miller <davem@davemloft.net>2022-11-14 13:53:29 +0300
commit991aef4ee4f6eb999924f429b943441a32835c8f (patch)
treef9f1bdf22b0c711df141a13df4a4b86d6c20bdd1 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent8fbb53c8bfd8c56ecf1f78dc821778b58f505503 (diff)
downloadlinux-991aef4ee4f6eb999924f429b943441a32835c8f.tar.xz
bnxt_en: Remove debugfs when pci_register_driver failed
When pci_register_driver failed, we need to remove debugfs, which will caused a resource leak, fix it. Resource leak logs as follows: [ 52.184456] debugfs: Directory 'bnxt_en' with parent '/' already present! Fixes: cabfb09d87bd ("bnxt_en: add debugfs support for DIM") Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions