Re: [PATCH] pinctrl: stm32: Fix bad function call

From: Linus Walleij
Date: Tue May 30 2017 - 20:27:47 EST


On Tue, May 30, 2017 at 4:43 PM, Alexandre TORGUE
<alexandre.torgue@xxxxxx> wrote:

> In stm32_pconf_parse_conf function, stm32_pmx_gpio_set_direction is
> called with wrong parameter value. Indeed, using NULL value for range
> will raise an oops.
>
> Fixes: aceb16dc2da5 ("pinctrl: Add STM32 MCUs support")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Alexandre TORGUE <alexandre.torgue@xxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij