[PATCH v2 02/14] vfio/mbochs: Fix missing error unwind in mbochs_probe()

Cornelia Huck cohuck at redhat.com
Wed Jul 21 09:16:38 UTC 2021


On Tue, Jul 20 2021, Jason Gunthorpe <jgg at nvidia.com> wrote:

> Compared to mbochs_remove() two cases are missing from the
> vfio_register_group_dev() unwind. Add them in.
>
> Fixes: 681c1615f891 ("vfio/mbochs: Convert to use vfio_register_group_dev()")
> Reported-by: Cornelia Huck <cohuck at redhat.com>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
>  samples/vfio-mdev/mbochs.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Reviewed-by: Cornelia Huck <cohuck at redhat.com>



More information about the dri-devel mailing list