[PATCH 08/10] vfio/mtty: Convert to use vfio_register_group_dev()
Kirti Wankhede
kwankhede at nvidia.com
Wed Jun 16 20:20:49 UTC 2021
> -static int mtty_reset(struct mdev_device *mdev)
> +static int mtty_reset(struct mdev_state *mdev_stte)
Nit pick:
s/mdev_stte/mdev_state
>
> +static const struct vfio_device_ops mtty_dev_ops = {
> + .name = "vfio-mdev",
I think name should be different that 'vfio-mdev', probably
'vfio-mdev-mtty' or 'vfio-mtty'
Rest looks fine to me.
Reviewed-by: Kirti Wankhede <kwankhede at nvidia.com>
More information about the dri-devel
mailing list