Loading block/genhd.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading fs/char_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
block/genhd.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading
fs/char_dev.c +1 −1 Original line number Diff line number Diff line Loading @@ -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; } Loading