diff options
author | Shawn Lin <[email protected]> | 2016-03-09 16:11:15 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-03-09 16:10:18 +0700 |
commit | ea98491133439773b69345eb9a314fc5f15e07a4 (patch) | |
tree | 17a8d78602a10a7bc664eaf7bc20dee6a3cbadb1 /lib/cpu-notifier-error-inject.c | |
parent | 0277e01aebc8895198a4717ccaf7e4fcf39ada78 (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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions