diff options
author | Rolf Evers-Fischer <rolf.evers.fischer@aptiv.com> | 2018-02-28 20:32:19 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-03-01 14:58:45 +0300 |
commit | 9eef6a5c3b0bf90eb292d462ea267bcb6ad1c334 (patch) | |
tree | 41fb038470c705bb6b4195683cd21113af681499 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 36cc14ac14c0d49d33820a82dab52a7edc802fef (diff) | |
download | linux-9eef6a5c3b0bf90eb292d462ea267bcb6ad1c334.tar.xz |
PCI: endpoint: Fix kernel panic after put_device()
'put_device()' calls the relase function 'pci_epf_dev_release()',
which already frees 'epf->name' and 'epf'.
Therefore we must not free them again after 'put_device()'.
Fixes: 5e8cb4033807 ("PCI: endpoint: Add EP core layer to enable EP controller and EP functions")
Signed-off-by: Rolf Evers-Fischer <rolf.evers.fischer@aptiv.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions