summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2021-06-28 11:32:32 -0700
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-07-04 18:28:04 +0200
commitad079d981db6a4047b60c576df6430bed36bcd7d (patch)
treee5905d1f730ca692a2cc2546c67f06d8a071b1e4 /lib/mpi/mpi-sub-ui.c
parent24e21d9f40ec3fb4228e3427454b733316a2a6c6 (diff)
thermal/drivers/int340x/processor_thermal: Fix warning for return value
Fix smatch warnings: drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c:258 proc_thermal_pci_probe() warn: missing error code 'ret' Use PTR_ERR to return failure of thermal_zone_device_register(). Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210628183232.62877-1-srinivas.pandruvada@linux.intel.com
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions