Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Mar 27, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell