mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
fa155f4f83("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:fa155f4f83("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]>