diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2019-02-15 20:27:11 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:48:29 -0700 |
commit | bb22efcb872b8108131a38399ae910dcb0304770 (patch) | |
tree | fa0cb94ef17f7e234afd1d890e8761f4090cdb43 /drivers/hid | |
parent | de90525fbe776d0faa3073aec11e6718eced518e (diff) | |
download | linux-rt-bb22efcb872b8108131a38399ae910dcb0304770.tar.gz |
chardev: add additional check for minor range overlap
[ Upstream commit de36e16d1557a0b6eb328bc3516359a12ba5c25c ]
Current overlap checking cannot correctly handle
a case which is baseminor < existing baseminor &&
baseminor + minorct > existing baseminor + minorct.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions