diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-02 21:15:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-06 14:23:26 +0300 |
commit | c9dafb27c84412fe4b17c3b94cc4ffeef5df1833 (patch) | |
tree | 590ab0ccdb463745a00543117dcc9612472b70b1 /tools/thermal/tmon/.gitignore | |
parent | 9d239d353c319f9ff884c287ce47feb7cdf60ddc (diff) | |
download | linux-c9dafb27c84412fe4b17c3b94cc4ffeef5df1833.tar.xz |
spi: dw-mid: avoid potential NULL dereference
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
Diffstat (limited to 'tools/thermal/tmon/.gitignore')
0 files changed, 0 insertions, 0 deletions