Skip to content
Commit bf374e54 authored by Wei-Chia Su's avatar Wei-Chia Su
Browse files

mod/cmn_cyprus: Prevent overflow with 64-bit shifts in bitmask functions



Updated bitmask calculation functions to use UINT64_C(0x1) for shifts, ensuring
64-bit integer operations and preventing overflow issues when shifting large
values.

Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
parent 13ac6129
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment