diff options
| author | Sascha Hauer <[email protected]> | 2016-03-17 08:21:50 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2016-03-17 11:44:34 +0000 |
| commit | cd8dd41a33264a4602539711f76670c2a1f4d007 (patch) | |
| tree | 02dc88065f7ef16bf68912944e0a21f824354e56 /scripts/asn1_compiler.c | |
| parent | spi: imx: only do necessary changes to ECSPIx_CONFIGREG (diff) | |
| download | kernel-cd8dd41a33264a4602539711f76670c2a1f4d007.tar.gz kernel-cd8dd41a33264a4602539711f76670c2a1f4d007.zip | |
spi: imx: Fix possible NULL pointer deref
transfer could be NULL in spi_imx_can_dma() when it's called from
spi_imx_setupxfer() with a NULL transfer. Test for a NULL pointer before
dereferencing it.
Signed-off-by: Sascha Hauer <[email protected]>
Cc: Dan Carpenter <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions
