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

2017-05-30 Thread Linus Walleij
On Tue, May 30, 2017 at 4:43 PM, Alexandre TORGUE 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

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

2017-05-30 Thread Linus Walleij
On Tue, May 30, 2017 at 4:43 PM, Alexandre TORGUE 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:

[PATCH] pinctrl: stm32: Fix bad function call

2017-05-30 Thread Alexandre TORGUE
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 Signed-off-by: Alexandre

[PATCH] pinctrl: stm32: Fix bad function call

2017-05-30 Thread Alexandre TORGUE
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 Signed-off-by: Alexandre TORGUE diff --git