All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Axel Lin <axel.lin@ingics.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nvmem: imx-ocotp: Fix return value of imx_ocotp_read
Date: Mon, 8 Feb 2016 08:31:36 +0000	[thread overview]
Message-ID: <56B85268.3010601@linaro.org> (raw)
In-Reply-To: <1454419767.3590.1.camel@ingics.com>



On 02/02/16 13:29, Axel Lin wrote:
> imx_ocotp_read() should return 0 on success.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

I will queue this patch via Greg's charmisc tree.

thanks,
srini
>   drivers/nvmem/imx-ocotp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
> index b7971d4..d7796eb 100644
> --- a/drivers/nvmem/imx-ocotp.c
> +++ b/drivers/nvmem/imx-ocotp.c
> @@ -51,7 +51,7 @@ static int imx_ocotp_read(void *context, const void *reg, size_t reg_size,
>   		val += 4;
>   	}
>
> -	return (i - index) * 4;
> +	return 0;
>   }
>
>   static int imx_ocotp_write(void *context, const void *data, size_t count)
>

      reply	other threads:[~2016-02-08  8:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 13:29 [PATCH] nvmem: imx-ocotp: Fix return value of imx_ocotp_read Axel Lin
2016-02-08  8:31 ` 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=56B85268.3010601@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=axel.lin@ingics.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=p.zabel@pengutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.