projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb529c
)
Revert "chardev: add additional check for minor range overlap"
author
Nick Xie
<nick@khadas.com>
Thu, 25 Jul 2019 09:55:07 +0000
(17:55 +0800)
committer
Nick Xie
<nick@khadas.com>
Thu, 25 Jul 2019 09:55:07 +0000
(17:55 +0800)
This reverts commit
bb22efcb872b8108131a38399ae910dcb0304770
.
fs/char_dev.c
patch
|
blob
|
history
diff --git
a/fs/char_dev.c
b/fs/char_dev.c
index
417d77d
..
cc8e968
100644
(file)
--- a/
fs/char_dev.c
+++ b/
fs/char_dev.c
@@
-149,12
+149,6
@@
__register_chrdev_region(unsigned int major, unsigned int baseminor,
ret = -EBUSY;
goto out;
}
-
- if (new_min < old_min && new_max > old_max) {
- ret = -EBUSY;
- goto out;
- }
-
}
cd->next = *cp;