[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56C589DD.500@linaro.org>
Date: Thu, 18 Feb 2016 09:07:41 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvmem: core: fix error path in nvmem_add_cells()
On 18/02/16 05:35, Rasmus Villemoes wrote:
> On Wed, Feb 17 2016, Srinivas Kandagatla <srinivas.kandagatla@...aro.org> wrote:
>
>>> err:
>>> - while (--i)
>>> + while (i--)
>> This is what you need here to fix it correctly.
>>
>> while (--i >= 0)
>>
>
> Sigh. http://thread.gmane.org/gmane.linux.kernel.mm/146058/focus=2149595
Yes, You are correct! :-)
I will queue this patch.
--srini
>
> TL;DR: They're equivalent.
>
> Rasmus
>
Powered by blists - more mailing lists