Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168
b: refs/heads/master
c: 72c3029
h: refs/heads/master
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Linus Torvalds committed Apr 16, 2005
1 parent f912a84 commit 32a365c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 3fba231754eef768f6ca83900b726ecf4bc9dc5f
refs/heads/master: 72c30290bea3a24e2ab56c7a51af47012f7465a4
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mthca/mthca_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ static struct ib_mr *mthca_reg_phys_mr(struct ib_pd *pd,
mask = 0;
total_size = 0;
for (i = 0; i < num_phys_buf; ++i) {
if (buffer_list[i].addr & ~PAGE_MASK)
if (i != 0 && buffer_list[i].addr & ~PAGE_MASK)
return ERR_PTR(-EINVAL);
if (i != 0 && i != num_phys_buf - 1 &&
(buffer_list[i].size & ~PAGE_MASK))
Expand Down

0 comments on commit 32a365c

Please sign in to comment.