From c06a7434f61a1f7d6c7d9ac0154810b8588d4cfe Mon Sep 17 00:00:00 2001 From: Hyeonseong Gil Date: Fri, 20 Jan 2017 09:57:32 +0900 Subject: [PATCH] [COMMON] thermal: samsung: Fix prevet CID 11247 Change-Id: I4ef7ab3b142e906de2c8b700419bf99303da5fc8 Signed-off-by: Hyeonseong Gil --- drivers/thermal/samsung/exynos_tmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/samsung/exynos_tmu.h b/drivers/thermal/samsung/exynos_tmu.h index f541f6b83067..00f6f4c09e92 100644 --- a/drivers/thermal/samsung/exynos_tmu.h +++ b/drivers/thermal/samsung/exynos_tmu.h @@ -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; -- 2.20.1