Files
arm-trusted-firmware/drivers/scmi-msg
Govindraj Raja 6ec871d269 fix(scmi): fix coverity issue INTEGER_OVERFLOW
Use round_up_overflow to avoid any integer overflow from
protocol count.

Thsi fixes below coverity issue -

CID 457880: (#1 of 1): Overflowed constant (INTEGER_OVERFLOW)
4. overflow_const: Expression count - 1U, where count is known
to be equal to 0, underflows the type of count - 1U, which is
type unsigned int.

Change-Id: Ib55599fcb2a522e57271a6a07fb9bfd07e6953b9
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
2025-11-06 10:12:38 -06:00
..
2021-01-20 11:37:14 +08:00
2024-02-27 14:29:53 +08:00
2024-02-27 14:29:53 +08:00
2024-02-27 14:29:53 +08:00
2024-02-27 14:29:53 +08:00