Simon Guo 97c6f25d58 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>
2018-03-13 15:50:32 +11:00
..
2018-02-06 09:59:40 -08:00
2018-02-15 14:50:32 -08:00
2018-03-01 08:41:27 -07:00
2018-02-07 11:22:44 -08:00
2018-03-02 10:44:44 +01:00
2018-02-02 10:01:04 -08:00
2018-02-26 09:28:35 -08:00
2018-03-02 09:35:36 -08:00
2018-02-01 10:31:17 -08:00
2018-03-02 10:19:57 -08:00
2018-02-20 11:34:54 +00:00
2018-02-01 09:40:49 -08:00
2018-01-30 12:25:59 +00:00
2018-02-05 10:07:40 -08:00
2018-02-15 14:29:27 -08:00
2018-02-06 09:59:40 -08:00
2018-02-23 14:09:43 -08:00
2018-02-28 16:11:04 -08:00
2018-01-22 16:45:26 +01:00
2018-02-22 12:05:43 -08:00
2018-02-22 12:13:01 -08:00
2018-03-02 10:19:57 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00