Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IB/ehca: Fix ehca_encode_hwpage_size() and alloc_fmr()
Simplify ehca_encode_hwpage_size(), fixing an infinite loop for pgsize == 0 in the process. Fix the bug in alloc_fmr() that triggered the loop. Signed-off-by: Joachim Fenkes <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
- Loading branch information