Re: [PATCH] x86/mm/cpa-test: Correct length selection

From: Jason Andryuk
Date: Thu Jan 25 2024 - 13:40:12 EST


On Thu, Jan 25, 2024 at 1:30 PM Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
>
> On 1/25/24 10:24, Jason Andryuk wrote:
> > The length of pages to modify corresponding to addr[i] is given in
> > len[i]. Remove the hard coded 1.
> >
> > Signed-off-by: Jason Andryuk <jandryuk@xxxxxxxxx>
> > ---
> > This is a typo, right? The other cases use len[i].
>
> Sure looks like it to me.
>
> Any idea how this could have gone unnoticed for 5 years?

Not really, which is why I wondered if I was missing something.

Regards,
Jason