Skip to content
Commit 16355214 authored by Chengguang Xu's avatar Chengguang Xu Committed by Alex Williamson
Browse files

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: default avatarChengguang Xu <cgxu519@gmx.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 8bcb64a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment