On 10.01.20 13:14, Alberto Garcia wrote: > On Thu 09 Jan 2020 08:13:01 PM CET, Alberto Garcia wrote: >> - assert((cluster_offset & 511) == 0); >> + assert(QEMU_IS_ALIGNED(cluster_offset, s->cluster_size)); > > On second thoughts this patch could also use the (probably more > efficient) offset_into_cluster() call instead. > > I can resend it if you think it's a good idea. Either way works for me. (I don’t think it’s going to make any difference in practice, but of course, why not.)
Max
signature.asc
Description: OpenPGP digital signature