summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-espi.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-03-09 16:11:15 +0800
committerMark Brown <broonie@kernel.org>2016-03-09 16:10:18 +0700
commitea98491133439773b69345eb9a314fc5f15e07a4 (patch)
tree17a8d78602a10a7bc664eaf7bc20dee6a3cbadb1 /drivers/spi/spi-fsl-espi.c
parent0277e01aebc8895198a4717ccaf7e4fcf39ada78 (diff)
spi: rockchip: check return value of dmaengine_prep_slave_sg
We should check return value of dmaengine_prep_slave_sg, otherwise we take risk of null pointer. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-espi.c')
0 files changed, 0 insertions, 0 deletions