diff options
author | Andrew Halaney <ahalaney@redhat.com> | 2023-06-26 15:46:46 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-06-27 04:05:14 +0200 |
commit | 5fb2864cbd50a84a73af4fdd900b31f2daddea34 (patch) | |
tree | c2622c367233dc1783c3c57ee0c581f7bffaeeed /scripts | |
parent | OPP: Use dev_err_probe() when failing to get icc_path (diff) | |
download | linux-5fb2864cbd50a84a73af4fdd900b31f2daddea34.tar.xz linux-5fb2864cbd50a84a73af4fdd900b31f2daddea34.zip |
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 <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202306262008.guNLgjt6-lkp@intel.com/
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions