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 <jiejing.wang@amlogic.com>
This commit is contained in:
jiejing.wang
2018-10-18 13:19:12 +08:00
parent 50369c98b4
commit 4f93bbc909

View File

@@ -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;