rv1126-uboot/drivers/mtd
Jason Zhu 41175141f3 mtd: nand: rockchip: fix incompatible-pointer-types compile err
Fix the following compile error:
drivers/mtd/nand/rockchip_nand.c: In function ‘nand_spl_load_image’:
drivers/mtd/nand/rockchip_nand.c:657:39: error: passing argument 3 of
‘nand_read_skip_bad’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  return nand_read_skip_bad(mtd, offs, &size, NULL, size, (u_char
*)dst);
                                       ^
In file included from drivers/mtd/nand/rockchip_nand.c:11:0:
include/nand.h:101:5: note: expected ‘size_t * {aka long unsigned int
*}’ but argument is of type ‘unsigned int *’
 int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t
*length,

Change-Id: I44c97f21c2c2d40a7dcbdab7ddb96a1025949ee4
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
2019-03-14 16:51:28 +08:00
..
nand mtd: nand: rockchip: fix incompatible-pointer-types compile err 2019-03-14 16:51:28 +08:00
onenand mtd: OneNAND: Fix onenand_block_markbad 2017-06-23 10:38:07 -04:00
spi sf: add support for GD25Q256 2017-12-06 18:08:39 +08:00
ubi ubi: Kconfig: Make MTD_UBI select MTD_PARTITIONS 2017-07-24 07:33:34 -04:00
ubispl spl: Lightweight UBI and UBI fastmap support 2016-07-22 09:53:00 -04:00
Kconfig flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
Makefile UPSTREAM: Drop CONFIG_HAS_DATAFLASH 2018-01-17 15:27:28 +08:00
altera_qspi.c fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
cfi_flash.c mtd: cfi: staticize functions 2017-08-22 09:56:09 +02:00
cfi_mtd.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftsmc020.c
jedec_flash.c
mtd-uclass.c dm: implement a MTD uclass 2015-11-12 08:26:58 +08:00
mtd_uboot.c mtd: uboot: Add meaningful error message 2015-11-12 13:17:28 -05:00
mtdconcat.c
mtdcore.c
mtdcore.h
mtdpart.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mw_eeprom.c
pic32_flash.c fdt: Rename a few functions in fdt_support 2017-06-01 07:03:11 -06:00
st_smi.c flash: complete CONFIG_SYS_NO_FLASH move with renaming 2017-02-12 14:30:25 -05:00
stm32_flash.c mtd: stm32: use parameter instead of default value 2017-07-10 14:26:05 -04:00
stm32_flash.h stm32: stm32f4: move flash driver to mtd driver location 2016-03-26 18:49:28 -04:00