diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-11-13 02:44:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-11-15 12:12:15 +0000 |
commit | c5923243eb3208ea63b5ed7905610039c4ca5201 (patch) | |
tree | c5c30adf49c671a94a48e10f23ce69307ec56540 /Kconfig | |
parent | c2f102f1e884fe1a6a54c36f232e560675657f12 (diff) | |
download | linux-stable-c5923243eb3208ea63b5ed7905610039c4ca5201.tar.gz linux-stable-c5923243eb3208ea63b5ed7905610039c4ca5201.tar.bz2 linux-stable-c5923243eb3208ea63b5ed7905610039c4ca5201.zip |
spi: fsl-cpm: Correct the free:ing
The fsl_spi_cpm_free() function does not make the same
checks as the error path in fsl_spi_cpm_init() leading
to crashes on error.
Cc: Fabio Estevam <festevam@gmail.com>
Reported-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20191113014442.12100-1-linus.walleij@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions