Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57088
b: refs/heads/master
c: a2cb4a9
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed May 29, 2007
1 parent c4afeac commit 6f08601
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: d998ccce020e2cfcf11c6b57503532930ede2894
refs/heads/master: a2cb4a98f243d01f2c8d5799c764bb96ffa66c44
2 changes: 1 addition & 1 deletion trunk/drivers/net/mlx4/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ u32 mlx4_bitmap_alloc(struct mlx4_bitmap *bitmap)

if (obj < bitmap->max) {
set_bit(obj, bitmap->table);
bitmap->last = (obj + 1) & (bitmap->max - 1);
obj |= bitmap->top;
bitmap->last = obj + 1;
} else
obj = -1;

Expand Down

0 comments on commit 6f08601

Please sign in to comment.