From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752104AbbCIO0N (ORCPT ); Mon, 9 Mar 2015 10:26:13 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:37426 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbbCIO0L (ORCPT ); Mon, 9 Mar 2015 10:26:11 -0400 Date: Mon, 9 Mar 2015 14:26:08 +0000 From: Charles Keepax To: Nicholas Mc Guire Cc: Liam Girdwood , Mark Brown , patches@opensource.wolfsonmicro.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ASoC: wm8996: match wait_for_completion_timeout return type 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 Content-Disposition: inline In-Reply-To: <1425808935-17070-1-git-send-email-hofrat@osadl.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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