diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-09-24 09:54:51 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-24 12:02:34 +0200 |
commit | 9553821ead2b6e813a8b3a5360e20e28bfabc177 (patch) | |
tree | 82754a716d5b123fdde630f15596ed6e1be42191 /drivers/spi/spi-tle62x0.c | |
parent | Linux 3.12-rc2 (diff) | |
download | linux-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