[PATCH] [MTD] CMD002: use writesize

Artem Bityutskiy dedekind at infradead.org
Mon Jan 29 05:11:43 EST 2007


Hi,

the writev() in cmd002 implementation uses mtd->eccsize but it seems to
really mean mtd->writesize (minimal write unit). Fix this.

P.S.: I actually do not really understand what mtd->eccsize mean. Nobody
initializes it at all and it is 0, so the function should anyway be
broken (?).

The patch is attached.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd002-use-writesize.patch
Type: application/mbox
Size: 1035 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20070129/3b70e798/attachment.bin 


More information about the linux-mtd mailing list