On 2025/2/12 22:17, Jonathan Bar Or wrote:
This is good, but may I suggest using __builtin_add_overflow instead?
They are just the same. erofs-utils follows the kernel style, mostly the kernel doesn't directly use __builtin_add_overflow, instead it has a wrapper check_add_overflow(). I could use __builtin_add_overflow for u-boot only. Thanks, Gao Xiang
Jonathan