Re: [PATCH] pinctrl: intel: merrifield: fix dup size in probe

From: Linus Walleij
Date: Wed Sep 07 2016 - 16:01:34 EST


On Wed, Aug 31, 2016 at 2:30 PM, Vincent StehlÃ
<vincent.stehle@xxxxxxxxx> wrote:

> In function mrfld_pinctrl_probe(), when duplicating the mrfld_families
> array the requested memory region length is multiplied once too many by the
> number of elements in the original array. Fix this to spare some memory.
>
> Fixes: 4e80c8f505741cbd ("pinctrl: intel: Add Intel Merrifield pin controller support")
> Signed-off-by: Vincent Stehlà <vincent.stehle@xxxxxxxxx>
> Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>

Patch applied for fixes with Andy's ACK.

Yours,
Linus Walleij