aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2024-02-02 18:36:25 +0200
committerDavid S. Miller <[email protected]>2024-02-05 12:39:27 +0000
commit08932323ccf7f8c4c85db9cb12a791ed81264f66 (patch)
treece0edd0ced372ba1f28236898f4d13108e6e8399 /tools/perf/scripts/python/compaction-times.py
parent0cd216d769fbd161c06f5a702bf7a951f276f558 (diff)
net: dsa: qca8k: put MDIO controller OF node if unavailable
It was pointed out during the review [1] of commit e66bf63a7f67 ("net: dsa: qca8k: skip MDIO bus creation if its OF node has status = "disabled"") that we now leak a reference to the "mdio" OF node if it is disabled. This is only a concern when using dynamic OF as far as I can tell (like probing on an overlay), since OF nodes are never freed in the regular case. Additionally, I'm unaware of any actual device trees (in production or elsewhere) which have status = "disabled" for the MDIO OF node. So handling this as a simple enhancement. [1] https://lore.kernel.org/netdev/CAJq09z4--Ug+3FAmp=EimQ8HTQYOWOuVon-PUMGB5a1N=RPv4g@mail.gmail.com/ Suggested-by: Luiz Angelo Daros de Luca <[email protected]> Signed-off-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions