[U-Boot] [PATCH] nand_init: use loff_t for offset

Scott Wood scottwood at freescale.com
Wed May 20 00:31:13 CEST 2009


On Sat, May 16, 2009 at 02:27:40PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> -static inline int nand_erase(nand_info_t *info, off_t off, size_t size)
> +static inline int nand_erase(nand_info_t *info, loff_t off, size_t size)

"size" should probably be loff_t (or something similarly sized) as well,
or erasing an entire large device at once could be awkward.

-Scott


More information about the U-Boot mailing list