Subject: -next regression: "driver cohandle -EPROBE_DEFER from bus_type.match()"

From: [email-masked] (Matthew Wilcox)
Date: Thu, 17 Dec 2015 12:07:12 -0500

On Thu, Dec 17, 2015 at 08:48:09AM -0800, Dan Williams wrote:
> On Thu, Dec 17, 2015 at 7:51 AM, Dan Williams <[email-masked]> wrote:
> How about just checking for EPROBE_DEFER, every other non-zero value is success.

How about using IS_ERR_VALUE()?  If it's good enough for IS_ERR(),
it's good enough for this case.