From: Wei Yongjun Date: Sun, 20 Jul 2014 07:20:59 +0000 (+0800) Subject: powerpc/4xx: Fix return value check in hsta_msi_probe() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~116^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e144d4edbce67ea269d181f81b9c5ef631743430;p=pandora-kernel.git powerpc/4xx: Fix return value check in hsta_msi_probe() In case of error, the function ioremap() returns NULL not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed