static long vhost_vdpa_get_vring_num(struct vhost_vdpa *v, u16 __user *argp)s/asssumes/assumes. Other looks good to me.
{
- struct vdpa_device *vdpa = v->vdpa;
- const struct vdpa_config_ops *ops = vdpa->config;
u16 num;
- num = ops->get_vq_num_max(vdpa);
+ /*
+ * VHOST_VDPA_GET_VRING_NUM asssumes a global max virtqueue
Thanks,
Yongji