Got it, looks good. Jonathan
On Wed, Feb 12, 2025, 7:33 AM Gao Xiang <[email protected]> wrote: > > > 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 > > >
