diff options
author | Linus Walleij <[email protected]> | 2019-11-13 02:44:42 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-11-15 12:12:15 +0000 |
commit | c5923243eb3208ea63b5ed7905610039c4ca5201 (patch) | |
tree | c5c30adf49c671a94a48e10f23ce69307ec56540 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | c2f102f1e884fe1a6a54c36f232e560675657f12 (diff) |
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 <[email protected]>
Reported-by: Christophe Leroy <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions