[PATCH] mtd: nand: subpage write support for hardware based ECC schemes

Artem Bityutskiy dedekind1 at gmail.com
Thu Apr 4 11:16:18 EDT 2013


On Fri, 2013-03-15 at 18:29 +0530, Gupta, Pekon wrote:
>  	int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
> -			const uint8_t *buf, int oob_required, int page,
> -			int cached, int raw);
> +			uint32_t offset, int data_len, const uint8_t *buf,
> +			int oob_required, int page, int cached, int raw);

You need to update cafe_nand.c accordingly. Aiaiai detected this:

--- before_patching.log
+++ after_patching.log
@@ @@
+drivers/mtd/nand/cafe_nand.c: In function ‘cafe_nand_probe’:
+drivers/mtd/nand/cafe_nand.c:787:24: warning: assignment from
incompatible pointer type [enabled by default]

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list