diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-08-10 11:13:52 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-10 12:48:37 +0200 |
commit | 563a53f3906a6b43692498e5b3ae891fac93a4af (patch) | |
tree | 3612714b86b21bf104ffc68a8ccc7c672eb015cc /drivers/char/mspec.c | |
parent | spi: dw: fix possible race condition (diff) | |
download | linux-563a53f3906a6b43692498e5b3ae891fac93a4af.tar.xz linux-563a53f3906a6b43692498e5b3ae891fac93a4af.zip |
spi: davinci: fix a NULL pointer dereference
On non-OF systems spi->controlled_data may be NULL. This causes a NULL
pointer derefence on dm365-evm.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/char/mspec.c')
0 files changed, 0 insertions, 0 deletions