diff options
| author | Andy Shevchenko <[email protected]> | 2021-05-10 10:01:36 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2021-05-10 15:02:15 +0000 |
| commit | 8370e5b093080c03cf89f7ebf0bef6984545429e (patch) | |
| tree | e2f03ec5d1fe707314dc80dc9edbe4d541498a1f /tools/perf/scripts/python/flamegraph.py | |
| parent | hwmon: (pmbus/fsp-3y) Fix FSP-3Y YH-5151E non-compliant vout encoding (diff) | |
| download | kernel-8370e5b093080c03cf89f7ebf0bef6984545429e.tar.gz kernel-8370e5b093080c03cf89f7ebf0bef6984545429e.zip | |
hwmon: (ltc2992) 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: b0bd407e94b0 ("hwmon: (ltc2992) Add support")
Cc: Alexandru Tachici <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
