summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tle62x0.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-09-24 09:54:51 +0200
committerMark Brown <broonie@linaro.org>2013-09-24 12:02:34 +0200
commit9553821ead2b6e813a8b3a5360e20e28bfabc177 (patch)
tree82754a716d5b123fdde630f15596ed6e1be42191 /drivers/spi/spi-tle62x0.c
parentLinux 3.12-rc2 (diff)
downloadlinux-9553821ead2b6e813a8b3a5360e20e28bfabc177.tar.xz
linux-9553821ead2b6e813a8b3a5360e20e28bfabc177.zip
spi: spi-topcliff-pch: fix a pci_iomap() check
If pci_iomap() returns NULL, adding "PCH_ADDRESS_SIZE * plat_dev->id" can make it non-NULL which breaks the error handling. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-tle62x0.c')
0 files changed, 0 insertions, 0 deletions