Files
arm-trusted-firmware/drivers
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
..
2023-05-09 15:57:12 +01:00
2020-02-18 10:47:46 -06:00
2024-06-18 17:18:31 +03:00
2023-04-28 15:45:43 +02:00
2025-05-02 09:13:18 -07:00
2019-11-19 08:53:21 -06:00
2023-09-27 16:21:58 +02:00
2025-10-27 16:02:49 +05:30
2025-10-29 13:32:32 +01:00