diff options
| author | Andy Shevchenko <[email protected]> | 2021-05-10 12:58:05 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-05-10 14:47:23 -0700 |
| commit | 71f0891c84dfdc448736082ab0a00acd29853896 (patch) | |
| tree | 413bad284d2e9f0e6aef448e562f351b4c69e3a9 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | a100243d95a60d74ae9bb9df1f5f2192e9aed6a7 (diff) | |
net: mvpp2: Put fwnode in error case during ->probe()
In each iteration fwnode_for_each_available_child_node() bumps a reference
counting of a loop variable followed by dropping in on a next iteration,
Since in error case the loop is broken, we have to drop a reference count
by ourselves. Do it for port_fwnode in error case during ->probe().
Fixes: 248122212f68 ("net: mvpp2: use device_*/fwnode_* APIs instead of of_*")
Cc: Marcin Wojtas <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions