diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-23 09:52:48 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-17 15:50:12 +0200 |
| commit | f6e2ed54db95286d9512b1cff38264e2f6299814 (patch) | |
| tree | e2d2ae837fcabcba17951ec8313adfc5e1eb42e0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e3a8557e88eb26278eda60bf64f2ef33ce7de8bf (diff) | |
misc: lan966x_pci: depopulate children on populate failure
lan966x_pci_probe() applies a device-tree overlay and then populates
platform children from the overlaid node. If
of_platform_default_populate() creates some children and then fails, the
current error path only unloads the overlay.
Depopulate the children before unloading the overlay on that failure
path, matching the remove path order.
Fixes: 185686beb464 ("misc: Add support for LAN966x PCI device")
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260623015248.22721-1-pengpeng@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
