diff options
| author | Simon Guo <wei.guo.simon@gmail.com> | 2018-03-07 16:46:04 +0800 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 15:50:32 +1100 |
| commit | 97c6f25d5828b497e3e802b1f7c70187c88df623 (patch) | |
| tree | 45f54aeb912c410b93419955aeaa18e97da89517 /tools/perf/scripts/python | |
| parent | powerpc/powernv/mce: Don't silently restart the machine (diff) | |
| download | linux-97c6f25d5828b497e3e802b1f7c70187c88df623.tar.gz linux-97c6f25d5828b497e3e802b1f7c70187c88df623.zip | |
PCI/hotplug: ppc: correct a php_slot usage after free
In pnv_php_unregister_one(), pnv_php_put_slot() might kfree
php_slot structure. But there is pci_hp_deregister() after
that with php_slot reference.
This patch moves pnv_php_put_slot() to the end of function.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
