Details

[Home]

Issue of the Implementation # L0259

Brief

samples/vfio-mdev: mtty_dev_init() returns zero on failure paths

Detailed Description

If class_create() or mdev_register_device() fail, mtty_dev_init() breaks off initialization, deallocates all resources, but returns zero.

Component

linux-kernel 4.9

Accepted

https://lkml.org/lkml/2016/12/30/303
commit

Status

Fixed in kernel 4.10-rc3

List of traces

Error trace 1

[Home]