From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [PATCH 1/2] ASoC: wm8996: match wait_for_completion_timeout return type Date: Mon, 9 Mar 2015 14:26:08 +0000 Message-ID: <20150309142608.GB26692@opensource.wolfsonmicro.com> References: <1425808935-17070-1-git-send-email-hofrat@osadl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1425808935-17070-1-git-send-email-hofrat@osadl.org> Sender: linux-kernel-owner@vger.kernel.org To: Nicholas Mc Guire Cc: Liam Girdwood , Mark Brown , patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org List-Id: alsa-devel@alsa-project.org On Sun, Mar 08, 2015 at 06:02:15AM -0400, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int. An > appropriately named unsigned long is added and the assignment fixed up > in case of completion occurring the remaining time is >=1 so ret is set to > 1 if no timeout occurred. > > Signed-off-by: Nicholas Mc Guire > --- Acked-by: Charles Keepax Thanks, Charles