On Sat, May 16, 2009 at 02:27:40PM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> nand_init currently use size_t which is arch dependent and not always a
> unsigned long. Now use loff_t as the linux mtd layer
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
> Cc: Scott Wood
Applied to u-b
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" s
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)
nand_init currently use size_t which is arch dependent and not always a
unsigned long. Now use loff_t as the linux mtd layer
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD
Cc: Scott Wood
---
drivers/mtd/nand/nand_util.c | 20 ++--
include/nand.h | 14 +++--
4 matches
Mail list logo