mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
fix(plat/mediatek/mt8183): fix out-of-bound access
Fix coverity checks which is found on: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/1806/comment/eaec126f_af5eb624/ Change-Id: I9405f7f67aa4115c1a7b8b4623b6b0830e62f814 Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
This commit is contained in:
parent
b3b162f3b4
commit
420c26b33a
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ int sspm_alive_show(void)
|
|||
|
||||
while (sspm_ipi_recv_non_blocking(IPI_ID_PLATFORM,
|
||||
&ipi_data,
|
||||
sizeof(ipi_data))
|
||||
sizeof(ipi_data) / sizeof(uint32_t))
|
||||
&& count) {
|
||||
mdelay(100);
|
||||
count--;
|
||||
|
|
Loading…
Add table
Reference in a new issue