diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2007-10-16 19:26:54 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-10-18 08:46:37 +0400 |
commit | 8c08d50d4fc52a9367c356ebbeb194c30fbc7ac8 (patch) | |
tree | eb1f102cd3a99b3f91b8923996a24f42e165543c /drivers/infiniband/hw/ehca/ehca_classes.h | |
parent | 9511724da9c090da5a6dcf6c557b1cedc4f5cfd7 (diff) | |
download | linux-8c08d50d4fc52a9367c356ebbeb194c30fbc7ac8.tar.xz |
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 <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_classes.h')
0 files changed, 0 insertions, 0 deletions