Hi Andi,

On 2026-09-10 at 23:55:34 +0200, Andi Shyti wrote:
> Hi Krzysztof,
> 
> > +   if (max_segment < PAGE_SIZE)
> > +           return -EINVAL;
> 
> should we also check here whether max_segment is page-aligned? I
> think the loop coming later assumes that. If max_segment is not
> aligned nr_pages can be == 0, right?
I'll address that along with your other comments on the series
in v7 (+ the iommu patch is going to be separated).

Thanks for looking at this!

> 
> Andi

-- 
Best Regards,
Krzysztof

Reply via email to