Tested this patch with virtio-net regression tests, everything works fine.

Tested-by: Lei Yang <[email protected]>

On Wed, Sep 24, 2025 at 8:54 AM Jason Wang <[email protected]> wrote:
>
> On Wed, Sep 24, 2025 at 5:48 AM Michael S. Tsirkin <[email protected]> wrote:
> >
> > The return value of copy_to_iter can't be negative, check whether the
> > copied length is equal to the requested length instead of checking for
> > negative values.
> >
> > Cc: zhang jiao <[email protected]>
> > Link: 
> > https://lore.kernel.org/all/[email protected]
> > Signed-off-by: Michael S. Tsirkin <[email protected]>
> > ---
> >
> >
>
> Acked-by: Jason Wang <[email protected]>
>
> Thanks
>
>


Reply via email to