From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 17 Dec 2015 12:07:12 -0500 From: Matthew Wilcox Subject: Re: -next regression: "driver cohandle -EPROBE_DEFER from bus_type.match()" Message-ID: <20151217170712.GE2457@linux.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Dan Williams Cc: Russell King , Stephen Rothwell , tomeu.vizoso@collabora.com, "linux-nvdimm@lists.01.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , m.szyprowski@samsung.com List-ID: On Thu, Dec 17, 2015 at 08:48:09AM -0800, Dan Williams wrote: > On Thu, Dec 17, 2015 at 7:51 AM, Dan Williams 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.