diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2018-06-01 16:52:20 +0800 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-07-12 09:22:11 +0200 |
commit | 8b71e46ceab8b66208107de688cbb4dd25fe38cd (patch) | |
tree | f162b4481f341e986de54c8e30aea80dc5bd09ee /drivers/spi/cadence_qspi.h | |
parent | 9bd39dd8e5f600560a00203ccb3e4e87780e10a2 (diff) |
spi: cadence_qspi: Fix warning cast from pointer to integer of different size
Use "%p" to print cmdbuf.
Compilation warning as below:
CC spl/drivers/spi/cadence_qspi_apb.o
LD spl/lib/built-in.o
drivers/spi/cadence_qspi_apb.c: In function ‘cadence_qspi_apb_indirect_write_setup’:
drivers/spi/cadence_qspi_apb.c:696:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cmdlen, (unsigned int)cmdbuf);
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/spi/cadence_qspi.h')
0 files changed, 0 insertions, 0 deletions