On 10/8/19 10:10 PM, Andrii Nakryiko wrote: > for_each_member(i, t, member) { > if (moff + msize <= off) > continue; /* no overlap with member, yet, keep iterating */ > if (moff >= off + size) > break; /* won't find anything, field is already too far */ > > /* overlapping, rest of the checks */ makes sense. I'll tweak the comments and checks.