[U-Boot] [PATCH] nand_init: use loff_t for offset
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed May 20 18:55:32 CEST 2009
On 17:31 Tue 19 May , Scott Wood wrote:
> 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.
so we need to update the struct erase_info too as it handle a u_int32_t
Best Regards,
J.
More information about the U-Boot
mailing list