IB/mlx4: Check correct variable for allocation failure
authorDan Carpenter <error27@gmail.com>
Wed, 7 Apr 2010 09:39:01 +0000 (09:39 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 7 Apr 2010 21:18:14 +0000 (14:18 -0700)
commit7bd912998ec9cdbb0268138b6b51f28adf7865f4
tree98aa27cecf06760dd4b85e2e85d51138a8b3f9c5
parentb72c40949b0f04728f2993a1434598d3bad094ea
IB/mlx4: Check correct variable for allocation failure

The intent here is to check the "mfrpl->mapped_page_list" allocation.
We checked "mfrpl->ibfrpl.page_list" earlier.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/mr.c