diff options
author | Alexandre TORGUE <alexandre.torgue@st.com> | 2017-05-30 16:43:04 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-06-09 10:51:54 +0200 |
commit | b7c747d4627462f25b3daabf49c18895a6722faa (patch) | |
tree | a0931b5edce582e10a13aff15e3ff6cff34442e5 /drivers/scsi | |
parent | ba714a9c1dea85e0bf2899d02dfeb9c70040427c (diff) | |
download | linux-b7c747d4627462f25b3daabf49c18895a6722faa.tar.bz2 |
pinctrl: stm32: Fix bad function call
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@oracle.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions