[COMMON] thermal: samsung: Fix prevet CID 11247
authorHyeonseong Gil <hs.gil@samsung.com>
Fri, 20 Jan 2017 00:57:32 +0000 (09:57 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:23 +0000 (17:18 +0900)
Change-Id: I4ef7ab3b142e906de2c8b700419bf99303da5fc8
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/samsung/exynos_tmu.h

index f541f6b830677f9e4106d3bd82c9e7f0a5f34ece..00f6f4c09e92ea51774105debacefcd4224af2a1 100644 (file)
@@ -154,7 +154,7 @@ struct exynos_tmu_data {
        int num_of_sensors;
        struct sensor_info *sensor_info;
        int sensing_mode;
-       char tmu_name[THERMAL_NAME_LENGTH];
+       char tmu_name[THERMAL_NAME_LENGTH + 1];
        struct device_node *np;
        int balance_offset;