diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2019-02-12 08:59:30 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2019-02-12 23:21:05 +0300 |
commit | 16355214a54efdb82a48d77b5389ee6fcc73015e (patch) | |
tree | 439c2ce79daed19dbf2b2e7521e2e99e200342d0 /samples/vfio-mdev/mdpy.c | |
parent | 8bcb64a51065e957e170ada58cbbd766be6a9619 (diff) | |
download | linux-16355214a54efdb82a48d77b5389ee6fcc73015e.tar.xz |
samples/vfio-mdev/mbochs: 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>
Diffstat (limited to 'samples/vfio-mdev/mdpy.c')
0 files changed, 0 insertions, 0 deletions