From: Dan Carpenter Date: Tue, 24 Sep 2013 07:54:51 +0000 (+0300) Subject: spi: spi-topcliff-pch: fix a pci_iomap() check X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~15^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9553821ead2b6e813a8b3a5360e20e28bfabc177;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed