Re: [PATCH] NVMe: Fix error handling of class_create("nvme")
From: Matthew Wilcox
Date: Tue Mar 10 2015 - 15:46:37 EST
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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/