summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2014-08-27 18:26:08 +0200
committerMark Brown <broonie@linaro.org>2014-08-27 18:32:46 +0200
commit08a707b87874eaaa0f336ab604ecd6e5e9f286dd (patch)
treeaad9b04c1993b91b8b5266ddb108f716b0542aab /drivers/message
parentspi: dw-pci: fix bug when regs left uninitialized (diff)
downloadlinux-08a707b87874eaaa0f336ab604ecd6e5e9f286dd.tar.xz
linux-08a707b87874eaaa0f336ab604ecd6e5e9f286dd.zip
spi: dw: fix kernel crash due to NULL pointer dereference
The obvious fix after the commit d9c73bb8a3a5 "spi: dw: add support for gpio controlled chip select". This patch fixes the issue by using locally defined temporary variable. Fixes: d9c73bb8a3a5 (spi: dw: add support for gpio controlled chip select) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions