From: Joachim Fenkes Date: Tue, 16 Oct 2007 15:26:54 +0000 (+0200) Subject: IB/ehca: Fix ehca_encode_hwpage_size() and alloc_fmr() X-Git-Tag: v2.6.24-rc1~27^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c08d50d4fc52a9367c356ebbeb194c30fbc7ac8;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed