projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[firefly-linux-kernel-4.4.55.git]
/
fs
/
char_dev.c
diff --git
a/fs/char_dev.c
b/fs/char_dev.c
index 6e99b9ddd4e9457167bc37a6b8cc64669d6505e9..dca9e5e0f73b2500b1ce4e0d1b722a2d5de999ee 100644
(file)
--- a/
fs/char_dev.c
+++ b/
fs/char_dev.c
@@
-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;
}