All of lore.kernel.org
 help / color / mirror / Atom feed
From: "rohit h" <hrohit85@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH][MTD][OneNAND]Update oobretlen in onenand_write_ops_nolock
Date: Mon, 16 Jun 2008 23:14:02 +0530	[thread overview]
Message-ID: <90d987c0806161044g4b52faa5qb62be9a7b5882d90@mail.gmail.com> (raw)

We are missing updating the oobretlen return parameter
in onenand_write_ops_nolock. This patch fixes it.
Regards,
Rohit H
Signed-off-by: Rohit H <hrohit85@gmail.com>
---
--- a/drivers/mtd/onenand/onenand_base.c	2008-05-30 13:04:59.000000000 +0530
+++ b/drivers/mtd/onenand/onenand_base.c	2008-06-16 22:27:02.000000000 +0530
@@ -1554,6 +1554,7 @@ static int onenand_write_ops_nolock(stru
 	}

 	ops->retlen = written;
+	ops->oobretlen = oobwritten;

 	return ret;
 }

             reply	other threads:[~2008-06-16 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 17:44 rohit h [this message]
2008-06-17  5:41 ` [PATCH][MTD][OneNAND]Update oobretlen in onenand_write_ops_nolock Artem Bityutskiy

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=90d987c0806161044g4b52faa5qb62be9a7b5882d90@mail.gmail.com \
    --to=hrohit85@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /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.