[ldv-project] [PATCH] NVMe: Fix error handling of class_create("nvme")
Matthew Wilcox
willy at wil.cx
Tue Mar 10 22:46:29 MSK 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 ldv-project
mailing list