From: KY Srinivasan
Date: Sat, 8 Mar 2014 10:27:54 +
> "len" would have gotten decremented prior to the check and in the
> case we are talking about, "len" would be zero and so j would not
> get incremented.
You are correct, this is the part of the logic in this case which I
missed.
Thanks.
; jasow...@redhat.com
> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>
> From: KY Srinivasan
> Date: Sat, 8 Mar 2014 04:12:01 +
>
> >
> >
> >> -Original Message-
> >> From: David Miller [mailto:da...@davemloft.net]
linux-ker...@vger.kernel.org;
>> de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;
>> jasow...@redhat.com
>> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>>
>> From: "K. Y. Srinivasan"
>> Date: Thu, 6 Mar 2014 21:3
; jasow...@redhat.com
> Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O
>
> From: "K. Y. Srinivasan"
> Date: Thu, 6 Mar 2014 21:32:36 -0800
>
> > +static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
> > +
From: "K. Y. Srinivasan"
Date: Thu, 6 Mar 2014 21:32:36 -0800
> +static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
> + struct hv_page_buffer *pb)
> +{
> + int j = 0;
> +
> + /* Deal with compund pages by ignoring unused part
> + * of the page.
> +