* [PATCH] [MTD] CMD002: use writesize
@ 2007-01-29 10:11 Artem Bityutskiy
0 siblings, 0 replies; only message in thread
From: Artem Bityutskiy @ 2007-01-29 10:11 UTC (permalink / raw)
To: linux-mtd; +Cc: Nicolas Pitre
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
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 (Битюцкий Артём)
[-- Attachment #2: cmd002-use-writesize.patch --]
[-- Type: application/mbox, Size: 1035 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-29 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 10:11 [PATCH] [MTD] CMD002: use writesize Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox