
Hi Jagan,
On Wed, Nov 4, 2015 at 9:17 AM, Jagan Teki jteki@openedev.com wrote:
Updated u32 to size_t as prototype uses the same. Does this break? it look OK?
Here is the error I see on Blackfin:
Building bf518f-ezbrd board... /home/fabio/.buildman-toolchains/gcc-4.6.3-nolibc/bfin-uclinux/bin/bfin-uclinux-size: './u-boot': No such file drivers/mtd/spi/sf_ops.c:655:5: error: conflicting types for 'stm_lock' drivers/mtd/spi/sf_ops.c:706:5: error: conflicting types for 'stm_unlock' make[1]: *** [drivers/mtd/spi/sf_ops.o] Error 1 make: *** [drivers/mtd/spi] Error 2 drivers/mtd/spi/sf_ops.c:655:5: error: conflicting types for 'stm_lock' drivers/mtd/spi/sf_internal.h:180:5: note: previous declaration of 'stm_lock' was here drivers/mtd/spi/sf_ops.c:706:5: error: conflicting types for 'stm_unlock' drivers/mtd/spi/sf_internal.h:183:5: note: previous declaration of 'stm_unlock' was here make[1]: *** [drivers/mtd/spi/sf_ops.o] Error 1
By using size_t we fix this conflicting type error.
Regards,
Fabio Estevam