diff options
author | 2017-10-11 14:14:37 +0530 | |
---|---|---|
committer | 2017-10-31 15:33:46 -0500 | |
commit | 139838fffec40296d7235982a1a9b917ba31530f (patch) | |
tree | 1751808b4b9c8d48a5ead02d5ff99420754084bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | misc: pci_endpoint_test: Fix failure path return values in probe (diff) | |
download | wireguard-linux-139838fffec40296d7235982a1a9b917ba31530f.tar.xz wireguard-linux-139838fffec40296d7235982a1a9b917ba31530f.zip |
misc: pci_endpoint_test: Fix pci_endpoint_test not releasing resources on remove
sscanf(misc_device->name, DRV_MODULE_NAME ".%d", &id) in
pci_endpoint_test_remove() returns 0, which results in returning early
without releasing the resources. This is as a result of misc_device not
having a valid name. Fix it here.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions