Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144286
b: refs/heads/master
c: cc005fa
h: refs/heads/master
v: v3
  • Loading branch information
Matt Kraai authored and Roland Dreier committed Apr 21, 2009
1 parent 2a88a2d commit 7657d9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f32eb1185170524a81dadff2e67521585943a53
refs/heads/master: cc005fa20c5229c283bea4958869da1e3c8a3720
5 changes: 2 additions & 3 deletions trunk/drivers/infiniband/hw/nes/nes_verbs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1895,8 +1895,7 @@ static int nes_destroy_cq(struct ib_cq *ib_cq)
static u32 root_256(struct nes_device *nesdev,
struct nes_root_vpbl *root_vpbl,
struct nes_root_vpbl *new_root,
u16 pbl_count_4k,
u16 pbl_count_256)
u16 pbl_count_4k)
{
u64 leaf_pbl;
int i, j, k;
Expand Down Expand Up @@ -2012,7 +2011,7 @@ static int nes_reg_mr(struct nes_device *nesdev, struct nes_pd *nespd,
}

if (use_256_pbls && use_two_level) {
if (root_256(nesdev, root_vpbl, &new_root, pbl_count_4k, pbl_count_256) == 1) {
if (root_256(nesdev, root_vpbl, &new_root, pbl_count_4k) == 1) {
if (new_root.pbl_pbase != 0)
root_vpbl = &new_root;
} else {
Expand Down

0 comments on commit 7657d9e

Please sign in to comment.