linux/tools/thermal
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
..
lib tools/lib/thermal: Add the threshold netlink ABI 2024-10-24 14:54:01 +02:00
thermal-engine tools/thermal/thermal-engine: Take into account the thresholds API 2024-10-24 14:54:01 +02:00
thermometer tools/thermal: Fix common realloc mistake 2024-11-15 14:29:03 +01:00
tmon tools/thermal/tmon: Fix compilation warning for wrong format 2024-01-02 09:33:19 +01:00