diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2019-02-15 15:27:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-02 18:49:58 +0300 |
commit | 4712d3796f19b32241b41e538107fb7ae7a3fcff (patch) | |
tree | 662545733a34a647a2c884312617c8cb0c48168e /fs/gfs2/quota.h | |
parent | de36e16d1557a0b6eb328bc3516359a12ba5c25c (diff) | |
download | linux-4712d3796f19b32241b41e538107fb7ae7a3fcff.tar.xz |
chardev: add a check for given minor range
register_chrdev_region() carefully checks minor range
before calling __register_chrdev_region() but there is
another path from alloc_chrdev_region() which does not
check the range properly. So add a check for given minor
range in __register_chrdev_region().
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/gfs2/quota.h')
0 files changed, 0 insertions, 0 deletions