diff options
author | 2010-07-05 16:19:25 +0000 | |
---|---|---|
committer | 2010-07-21 12:46:29 -0700 | |
commit | e675b6db1245649f91bb1bfb10baef9af6d3f8e6 (patch) | |
tree | 83a471d78fb6b118aedd269f8eb5ac0b9b8b9336 /drivers/infiniband/hw/ehca/ehca_eq.c | |
parent | IB/ehca: Fix bitmask handling for lock_hcalls (diff) | |
download | linux-dev-e675b6db1245649f91bb1bfb10baef9af6d3f8e6.tar.xz linux-dev-e675b6db1245649f91bb1bfb10baef9af6d3f8e6.zip |
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 <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_eq.c')
0 files changed, 0 insertions, 0 deletions