public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH][MTD][OneNAND]Update oobretlen in onenand_write_ops_nolock
@ 2008-06-16 17:44 rohit h
  2008-06-17  5:41 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: rohit h @ 2008-06-16 17:44 UTC (permalink / raw)
  To: linux-mtd

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;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-17  5:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16 17:44 [PATCH][MTD][OneNAND]Update oobretlen in onenand_write_ops_nolock rohit h
2008-06-17  5:41 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox