Details

[Home]

Issue of the Implementation # L0190

Brief

NVMe: Incorrect error handling of class_create("nvme")

Detailed Description

class_create() returns ERR_PTR on failure, so IS_ERR() should be used instead of check for NULL.

Component

linux-kernel 4.0

Accepted

https://lkml.org/lkml/2015/3/6/858
commit

Status

Fixed in kernel 4.1-rc1

[Home]