From 4f93bbc909f5befba6d4726a41a48bbae4cc8ad1 Mon Sep 17 00:00:00 2001 From: "jiejing.wang" Date: Thu, 18 Oct 2018 13:19:12 +0800 Subject: [PATCH] audioinfo: fix kasan compile problem [1/1] PD#173553 Problem: check stack out of bounds Solution: change variable's definition Verify: verifyed by r311 Change-Id: Id6efc3ac56b297b6812e2af786732e65867a07da Signed-off-by: jiejing.wang --- drivers/amlogic/audioinfo/audio_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/audioinfo/audio_data.c b/drivers/amlogic/audioinfo/audio_data.c index c50076cd..f5494c3 100644 --- a/drivers/amlogic/audioinfo/audio_data.c +++ b/drivers/amlogic/audioinfo/audio_data.c @@ -114,7 +114,7 @@ unsigned long audio_info_get(char *buf, unsigned long count, unsigned long pos) { struct efuse_hal_api_arg arg; - unsigned int retcnt; + unsigned long retcnt; int ret; arg.cmd = efuse_query_licence_cmd; -- 2.7.4