Re: [PATCH v2] pinctrl-exynos5440: Use off-stack memory for pinctrl_gpio_range

From: Linus Walleij
Date: Tue Apr 26 2016 - 09:52:44 EST


On Wed, Apr 20, 2016 at 3:54 AM, Andrew Jeffery <andrew@xxxxxxxx> wrote:

> The range is registered into a linked list which can be referenced
> throughout the lifetime of the driver. Ensure the range's memory is useful
> for the same lifetime by adding it to the driver's private data structure.
>
> The bug was introduced in the driver's initial commit, which was present in
> v3.10.
>
> Signed-off-by: Andrew Jeffery <andrew@xxxxxxxx>
> Fixes: f0b9a7e521fa ("pinctrl: exynos5440: add pinctrl driver for Samsung EXYNOS5440 SoC")
> Cc: stable@xxxxxxxxxxxxxxx
> ---
> Since v1:
>
> * Add range member kerneldoc addressing Tomasz Figa's comment

Patch applied with the ACKs.

Yours,
Linus Walleij