i40iw: Correct and use size parameter to i40iw_reg_phys_mr
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 12 Jul 2016 16:48:40 +0000 (11:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 18:17:38 +0000 (14:17 -0400)
commit342c387b0d4d5c9c090fd2e3bdbf1fb34b838d1a
tree4a9054cb4a49b36035c94d5263b95e2f6bf55871
parentfe5d6e625df0f7cc132f7f6bf23414e29d361289
i40iw: Correct and use size parameter to i40iw_reg_phys_mr

Fix size parameter passed to i40iw_reg_phys_mr and use it to
register memory.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c