Re: -next regression: "driver cohandle -EPROBE_DEFER from bus_type.match()"
On Thu, Dec 17, 2015 at 08:48:09AM -0800, Dan Williams wrote: > On Thu, Dec 17, 2015 at 7:51 AM, Dan Williams <dan.j.williams@intel.com> 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.