From: Alexander Schmidt Date: Mon, 5 Jul 2010 16:19:25 +0000 (+0000) Subject: IB/ehca: Catch failing ioremap() X-Git-Tag: v2.6.36-rc1~492^2^3~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e675b6db1245649f91bb1bfb10baef9af6d3f8e6;p=pandora-kernel.git IB/ehca: Catch failing ioremap() When ioremap() fails with a NULL pointer, catch the error and pass it to the caller of create_qp() or create_cq() instead of trying to dereference the NULL pointer later on. Signed-off-by: Alexander Schmidt Signed-off-by: Roland Dreier --- Reading git-diff-tree failed