aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndrew Halaney <[email protected]>2023-06-26 08:46:46 -0500
committerViresh Kumar <[email protected]>2023-06-27 07:35:14 +0530
commit5fb2864cbd50a84a73af4fdd900b31f2daddea34 (patch)
treec2622c367233dc1783c3c57ee0c581f7bffaeeed /tools/perf/util/scripting-engines/trace-event-python.c
parentfa155f4f834882a79788218aea4914568b41dd0f (diff)
OPP: Properly propagate error along when failing to get icc_path
fa155f4f8348 ("OPP: Use dev_err_probe() when failing to get icc_path") failed to actually use the error it was trying to log: smatch warnings: drivers/opp/of.c:516 dev_pm_opp_of_find_icc_paths() warn: passing zero to 'dev_err_probe' Make sure to use the right error and pass it along. Fixes: fa155f4f8348 ("OPP: Use dev_err_probe() when failing to get icc_path") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Andrew Halaney <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions