[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5098F7FF.1090100@pengutronix.de>
Date: Tue, 06 Nov 2012 12:43:59 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Chuansheng Liu <chuansheng.liu@...el.com>
CC: wg@...ndegger.com, linux-kernel@...r.kernel.org,
"linux-can@...r.kernel.org" <linux-can@...r.kernel.org>
Subject: Re: [PATCH 5/7] can: janz-ican3: Fix the usage of wait_for_completion_timeout
On 11/06/2012 06:31 PM, Chuansheng Liu wrote:
>
> The return value of wait_for_completion_timeout() is always
>> = 0 with unsigned int type.
>
> So the condition "ret < 0" or "ret >= 0" is pointless.
>
> Signed-off-by: liu chuansheng <chuansheng.liu@...el.com>
Thnx, applied to can-next. Please put linux-can@...r.kernel.org on Cc
next time.
regards, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (260 bytes)
Powered by blists - more mailing lists