mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nvmem: core: fix error path in nvmem_add_cells()
Date: Thu, 18 Feb 2016 09:07:41 +0000	[thread overview]
Message-ID: <56C589DD.500@linaro.org> (raw)
In-Reply-To: <87wpq2h971.fsf@rasmusvillemoes.dk>



On 18/02/16 05:35, Rasmus Villemoes wrote:
> On Wed, Feb 17 2016, Srinivas Kandagatla <srinivas.kandagatla@linaro.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
>

      reply	other threads:[~2016-02-18  9:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 21:04 Rasmus Villemoes
2016-02-17 10:48 ` Srinivas Kandagatla
2016-02-18  5:35   ` Rasmus Villemoes
2016-02-18  9:07     ` Srinivas Kandagatla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56C589DD.500@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=maxime.ripard@free-electrons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®