[PATCH] NVMe: Fix error handling of class_create("nvme")
Matthew Wilcox
willy at wil.cx
Tue Mar 10 12:46:29 PDT 2015
On Tue, Mar 10, 2015 at 12:18:22PM -0700, J Freyensee wrote:
> Looking at IS_ERR(), it uses IS_ERR_VALUE() which uses unlikely(), which
> from what I understand is a compiler hint that means "this error is
> unlikely to happen".
>
> Well, is this error unlikely to happen? Looks like the error could be
Yes. All errors are, by definition, unlikely to happen.
More information about the Linux-nvme
mailing list