diff options
| author | Johan Hovold <[email protected]> | 2019-01-16 11:23:34 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-17 12:12:19 -0800 |
| commit | c8cbcb0d8bd72d44fad1a5ddc348ac10e0fb1b37 (patch) | |
| tree | 87d63fd641b6de5ed60e5a51c4032afe9684f86e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | aed13f2e00ce278f039b76e7ac84d419aff48ef6 (diff) | |
net: dsa: lantiq_gswip: fix OF child-node lookups
Use the new of_get_compatible_child() helper to look up child nodes to
avoid ever matching non-child nodes elsewhere in the tree.
Also fix up the related struct device_node leaks.
Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Cc: stable <[email protected]> # 4.20
Cc: Hauke Mehrtens <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Acked-by: Hauke Mehrtens <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions