On 06.02.20 10:54, David Hildenbrand wrote: > if (mop->size + mop->sida_offset > mop->size) < with that it is sufficient > return -EINVAL; > if (mop->size + mop->sida_offset > sida_size(vcpu->arch.sie_block)) > return -E2BIG; > > Should be sufficient (instead of 3 checks).