]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
PATCH - Fix oob data copied into supplied buffer
authorTroy Kisky <troy.kisky@boundarydevices.com>
Mon, 24 Sep 2007 23:41:43 +0000 (16:41 -0700)
committerStefan Roese <sr@denx.de>
Mon, 21 Apr 2008 06:43:46 +0000 (08:43 +0200)
commit84c01d3a05ae3aca5f7c0c13a31ca72ba1199a42
treea61c279f16e56c755049e283ad09dcdcf6c8f59d
parent46f373838e384a4c23d13581b1dfa5acb66b5810
PATCH - Fix oob data copied into supplied buffer

This patch correctly sets the oobavail variable
and fixes a bug where the oob data was not valid when
there where multiple groups in oobfree.

First segment fixes a typo
Second segment fixes a bug where oob data may be copied incorrectly.
Third segment adds an error message when exiting due to write protect.
Forth segment fixes a bug where oobavail may be set incorrectly.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/mtd/nand/nand_base.c