[PATCH] mtd/nand:Fix wrong usage of is_blank() in fsl_ifc_run_command

Artem Bityutskiy dedekind1 at gmail.com
Fri Jan 27 08:15:33 EST 2012


On Wed, 2012-01-18 at 09:43 +0530, Prabhakar Kushwaha wrote:
> Freescale IFC NAND Machine calculates ECC on 512byte sector and same is used in
> fsl_ifc_run_command() during ECC status verification. Also this sector is passed
> to is_blank() for blank checking. It is wrong at first place because
> is_blank()'s implementation checks for Page size and OOB area size. 
> is_blank() should be called per page for main and OOB area verification.
> 
> Variables name are redefined to avoid confusion between buffer and ecc sector.
> 
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal at freescale.com>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> Signed-off-by: Prabhakar Kushwaha <prabhakar at freescale.com>

The driver is not in 3.3-rc1, so I skip this patch.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120127/94219128/attachment.sig>


More information about the linux-mtd mailing list