linux-next/tools/thermal/thermometer
zhang jiao d303e3dd8d tools/thermal: Fix common realloc mistake
If the 'realloc' fails, the thermal zones pointer is set to NULL. This
makes all thermal zones references which were previously successfully
initialized to be lost.

[dlezcano] : Fixed indentation

Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20241114084039.42149-1-zhangjiao2@cmss.chinamobile.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2024-11-15 14:29:03 +01:00
..
Build tools/thermal: Add a temperature capture tool 2022-05-19 12:11:52 +02:00
Makefile tools/thermal: Add a temperature capture tool 2022-05-19 12:11:52 +02:00
thermometer.8 tools/thermal: Add a temperature capture tool 2022-05-19 12:11:52 +02:00
thermometer.c tools/thermal: Fix common realloc mistake 2024-11-15 14:29:03 +01:00
thermometer.conf tools/thermal: Add a temperature capture tool 2022-05-19 12:11:52 +02:00