Tag: 165989a5b667b90589f21c8affe496ad21f08591

thermal: clock_cooling: Fix missing mutex_init()

Author: Wei Yongjun <weiyj.lk@gmail.com> The driver allocates the mutex but not initialize it. Use mutex_init() on it to initialize it correctly. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun Signed-off-by: Zhang Rui — drivers/thermal/clock_cooling.c | 1 + 1 file changed, 1 insertion(+)   diff –git a/drivers/thermal/clock_cooling.c b/drivers/thermal/clock_cooling.c index 1b4ff0f..ed5dd0e 100644 — a/drivers/thermal/clock_cooling.c +++ …

Continue reading