IB/ehca: Catch failing ioremap()
authorAlexander Schmidt <alexs@linux.vnet.ibm.com>
Mon, 5 Jul 2010 16:19:25 +0000 (16:19 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Jul 2010 19:46:29 +0000 (12:46 -0700)
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 <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found