From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH] Input: ad7879: pass up error codes from probe functions Date: Mon, 5 Oct 2009 22:06:16 -0700 Message-ID: <20091006050616.GD27881@core.coreip.homeip.net> References: <1254633725-20479-1-git-send-email-vapier@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1254633725-20479-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: uclinux-dist-devel-bounces-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org Errors-To: uclinux-dist-devel-bounces-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org To: Mike Frysinger Cc: uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Hennerich , linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-input@vger.kernel.org On Sun, Oct 04, 2009 at 01:22:05AM -0400, Mike Frysinger wrote: > From: Michael Hennerich > > If the sub-probe functions fail, we need to pass up the error code to the > higher levels from the probe function. We currently always return 0 even > if there was an error so higher levels don't report problems. > > Signed-off-by: Michael Hennerich > Signed-off-by: Mike Frysinger Applied, thannk you Michael. -- Dmitry