diff options
author | 2013-09-24 10:54:51 +0300 | |
---|---|---|
committer | 2013-09-24 11:02:34 +0100 | |
commit | 9553821ead2b6e813a8b3a5360e20e28bfabc177 (patch) | |
tree | 82754a716d5b123fdde630f15596ed6e1be42191 /net/unix/af_unix.c | |
parent | Linux 3.12-rc2 (diff) | |
download | wireguard-linux-9553821ead2b6e813a8b3a5360e20e28bfabc177.tar.xz wireguard-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions