git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d239d3
)
spi: dw-mid: avoid potential NULL dereference
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Mon, 2 Mar 2015 18:15:58 +0000
(20:15 +0200)
committer
Mark Brown
<broonie@kernel.org>
Fri, 6 Mar 2015 11:23:26 +0000
(11:23 +0000)
When DMA descriptor allocation fails we should not try to assign any fields in
the bad descriptor. The patch adds the necessary checks for that.
Fixes:
7063c0d942a1
(spi/dw_spi: add DMA support)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-dw-mid.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi-dw-mid.c
Simple merge