Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230599
b: refs/heads/master
c: e61eb2e
h: refs/heads/master
i:
  230597: da949a1
  230595: 406aef5
  230591: da825cf
v: v3
  • Loading branch information
Yang Zhang authored and Jens Axboe committed Dec 17, 2010
1 parent 1438369 commit 49b7620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: b9f985b6e05ebd7af2aaef0eb3ae369390ef191f
refs/heads/master: e61eb2e93fe86931d46831752a82dab25a5335ca
2 changes: 1 addition & 1 deletion trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static struct blk_major_name {
} *major_names[BLKDEV_MAJOR_HASH_SIZE];

/* index in the above - for now: assume no multimajor ranges */
static inline int major_to_index(int major)
static inline int major_to_index(unsigned major)
{
return major % BLKDEV_MAJOR_HASH_SIZE;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/char_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ static struct char_device_struct {
} *chrdevs[CHRDEV_MAJOR_HASH_SIZE];

/* index in the above */
static inline int major_to_index(int major)
static inline int major_to_index(unsigned major)
{
return major % CHRDEV_MAJOR_HASH_SIZE;
}
Expand Down

0 comments on commit 49b7620

Please sign in to comment.