Commit ea20868c authored by Alex Williamson's avatar Alex Williamson

Merge branch 'qiushi-wu-mdev-ref-v1' into v5.8/vfio/next

parents 95fc87b4 aa8ba13c
......@@ -110,7 +110,7 @@ static struct mdev_type *add_mdev_supported_type(struct mdev_parent *parent,
"%s-%s", dev_driver_string(parent->dev),
group->name);
if (ret) {
kfree(type);
kobject_put(&type->kobj);
return ERR_PTR(ret);
}
......
Markdown is supported
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