u-boot/drivers/dfu
Marek Vasut 36dd7e7e25 dfu: tftp: Fix arm64 build warnings
Fix two build warnings when building for arm64:

drivers/dfu/dfu_tftp.c: In function ‘dfu_tftp_write’:
drivers/dfu/dfu_tftp.c:59:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  ret = dfu_write_from_mem_addr(dfu, (void *)addr, len);
                                     ^
and

drivers/dfu/dfu_tftp.c: In function ‘dfu_tftp_write’:
drivers/dfu/dfu_tftp.c:41:8: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__kernel_size_t {aka long unsigned int}’ [-Wformat=]
  debug("%s: image name: %s strlen: %u\n", __func__, sb, strlen(sb));
        ^

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Lukasz Majewski <lukma@denx.de>
2018-02-21 20:28:15 +01:00
..
dfu.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dfu_mmc.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dfu_nand.c dfu: remove limitation on partition size 2017-07-28 23:34:39 +02:00
dfu_ram.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
dfu_sf.c dfu: remove limitation on partition size 2017-07-28 23:34:39 +02:00
dfu_tftp.c dfu: tftp: Fix arm64 build warnings 2018-02-21 20:28:15 +01:00
Kconfig dfu: Rename _FUNCTION_DFU to DFU_OVER_ 2018-02-21 20:28:15 +01:00
Makefile dfu: Fix up the Kconfig mess 2018-02-21 20:28:15 +01:00