[PATCH/RFC] remove len/ooblen confusion in MTD/NAND code

Ricard Wanderlof ricard.wanderlof at axis.com
Tue Oct 31 06:58:22 EST 2006


On Mon, 30 Oct 2006, Vitaly Wool wrote:

> The patch inlined below makes an attempt to change the interface to more 
> intuitive, ie when ops.datbuf is NULL, ops.len is ignored, and 
> ops.ooblen is used throughout to specify the full OOB read/write length.

My only comment at this stage is a trivial one: many of the debug texts do 
not match the function they are placed in. Doesn't really have anything to 
do with the reason for the patch though, but makes for confusing debug 
output.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30




More information about the linux-mtd mailing list