PD#TV-11119
Problem:
BUG: KASAN: stack-out-of-bounds in
meson64_trustzone_efuse+0x168/0x268
Solution:
fix retcnt variable type
Verify:
tl1 skt
Change-Id: I54d9bb598277db539b68f2e741288348eb026e01
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
unsigned int pos = *ppos;
struct efuse_hal_api_arg arg;
- unsigned int retcnt;
+ unsigned long retcnt;
int ret;
arg.cmd = EFUSE_HAL_API_READ;
unsigned int pos = *ppos;
struct efuse_hal_api_arg arg;
- unsigned int retcnt;
+ unsigned long retcnt;
int ret;
arg.cmd = EFUSE_HAL_API_WRITE;