diff --git a/drivers/input/touchscreen/nt36672c/nt36xxx_mp_ctrlram.c b/drivers/input/touchscreen/nt36672c/nt36xxx_mp_ctrlram.c index 4301d2369190..b55e7ade3ff2 100644 --- a/drivers/input/touchscreen/nt36672c/nt36xxx_mp_ctrlram.c +++ b/drivers/input/touchscreen/nt36672c/nt36xxx_mp_ctrlram.c @@ -2457,7 +2457,7 @@ static void test_buff_free(struct test_buf *buf) static int32_t test_buff_init(struct test_buf **tbuf) { struct test_buf *buf; - int32_t ret; + int32_t ret = 0; buf = (struct test_buf *)kzalloc(sizeof(*buf), GFP_KERNEL); if (!buf) {