[PATCH] pinctrl: core: Warn about NULL gpio_chip in pinctrl_ready_for_gpio_range()
Linus Walleij
linus.walleij at linaro.org
Tue Sep 8 07:11:42 PDT 2015
On Thu, Sep 3, 2015 at 7:34 PM, Tony Lindgren <tony at atomide.com> wrote:
> If the gpio driver is confused about the numbers for gpio-ranges,
> pinctrl_ready_for_gpio_range() may get called with invalid GPIO
> causing a NULL pointer exception. Let's instead provide a warning
> that allows fixing the problem and return with error.
>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
Patch applied for fixes.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list