Re: [PATCH v1] x86/mtrr: Convert to use match_string() helper
From: Andy Shevchenko
Date: Sun May 13 2018 - 16:34:26 EST
On Sun, May 13, 2018 at 10:23 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Fri, 4 May 2018, Andy Shevchenko wrote:
>
>> The new helper returns index of the matching string in an array.
>
> new helper? match_string() is in tree for 2 years.
Old template.
>> We are going to use it here.
>
> Are we going to use it ? When?
>
> "Replace the open coded array lookup." or something like that would be more
> appropriate.
Will change this.
Thanks for review!
--
With Best Regards,
Andy Shevchenko