Subject: linux-next: build warnings after merge of the thermal-soc tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 27 Mar 2018 12:23:33 +1100

Hi Eduardo,

After merging the thermal-soc tree, today's linux-next build (arm
multi_v7_defconfig) produced these warnings:

drivers/thermal/samsung/exynos_tmu.c: In function 'exynos_get_temp':
drivers/thermal/samsung/exynos_tmu.c:931:37: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
   *temp = code_to_temp(data, value) * MCELSIUS;
                                     ^
drivers/thermal/samsung/exynos_tmu.c: In function 'temp_to_code':
drivers/thermal/samsung/exynos_tmu.c:304:9: warning: 'temp_code' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return temp_code;
         ^~~~~~~~~

Introduced by commit

  480b5bfc16e1 ("thermal: exynos: remove parsing of samsung, tmu_default_temp_offset property")

-- 
Cheers,
Stephen Rothwell