From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965456AbbBDUxe (ORCPT ); Wed, 4 Feb 2015 15:53:34 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:50930 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbbBDUxb (ORCPT ); Wed, 4 Feb 2015 15:53:31 -0500 Date: Wed, 4 Feb 2015 20:53:26 +0000 From: Mark Brown To: Nicholas Mc Guire Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <20150204205326.GL21293@sirena.org.uk> References: <1422865837-10357-1-git-send-email-hofrat@osadl.org> <1422865837-10357-4-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AliU6hqk+0M/2vc/" Content-Disposition: inline In-Reply-To: <1422865837-10357-4-git-send-email-hofrat@osadl.org> X-Cookie: My LESLIE GORE record is BROKEN ... User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --AliU6hqk+0M/2vc/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 02, 2015 at 03:30:35AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int and > always returns >=0 , this patch adds a suitable return variable and > simplifies the return value checking as there is no < 0 case. Applied, thanks. --AliU6hqk+0M/2vc/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJU0obFAAoJECTWi3JdVIfQgOAH/1MSoXcNF0GpZDoSozARu1aJ 0hi7mtnAe+9Y3nOPxzlfmHoYHqwwuSucjCLX72hbnE/yiIyt9j3CwfHBLiCyOQIw kNr8cia8QcHeUFs5F3Xet5WtyXvT0m3rmUUzaSMex//gMB1ZfmJUk4+oVjbzD2Ba A2uGhKzOyzdVKg6CygiV1t/qJxiv9fQhuVemRQ0Q7WkYg0PTGlhgcbbUeQesZavq WDugQmJkVC414YDJVqh1hQqGSkyUHtlc9G5/17dj8HLDtV8Zw0bYhT8h3pHB/w6F MCttgFdRnmpzgIib4sS4wXEQtSk1ezrpx4QXsDPmS1wvHAdTyVi5DxtEgVxUmHY= =pFdV -----END PGP SIGNATURE----- --AliU6hqk+0M/2vc/--