commit | 3e4835f7d7a84ab022682aaeecaae5c508aeb76c | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu519@gmx.com> | Tue Feb 12 13:59:32 2019 +0800 |
committer | Alex Williamson <alex.williamson@redhat.com> | Tue Feb 12 13:21:18 2019 -0700 |
tree | b64f07cab3b4dbf49e25dcb6f0c5046d066e6f9f | |
parent | 18bc04bc8a2aa95c33c6613c5fffc4d3535397f0 [diff] |
samples/vfio-mdev/mtty: expand minor range when registering chrdev region Actually, total amount of available minor number for a single major is MINORMARK + 1. So expand minor range when registering chrdev region. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>