lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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