git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9ad6d
)
NVMe: Fix error handling of class_create("nvme")
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Fri, 6 Mar 2015 22:43:41 +0000
(
01:43
+0300)
committer
Jens Axboe
<axboe@fb.com>
Wed, 8 Apr 2015 01:08:58 +0000
(19:08 -0600)
class_create() returns ERR_PTR on failure,
so IS_ERR() should be used instead of check for NULL.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
No differences found