mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 14:55:16 +00:00
Merge "fix(scmi): fix compilation error in scmi base" into integration
This commit is contained in:
commit
529bc3df37
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ static void discover_list_protocols(struct scmi_msg *msg)
|
|||
count = count_protocols_in_list(list);
|
||||
|
||||
if (count > a2p->skip) {
|
||||
count = MIN(count - a2p->skip, msg->out_size - sizeof(p2a));
|
||||
count = MIN((uint32_t)(count - a2p->skip),
|
||||
(uint32_t)(msg->out_size - sizeof(p2a)));
|
||||
} else {
|
||||
count = 0U;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue