[U-Boot] [PATCH v2] driver: spi: fsl-qspi: remove compile Warnings

york sun york.sun at nxp.com
Wed Aug 3 00:40:27 CEST 2016


On 07/12/2016 07:57 PM, Yunhui Cui wrote:
> From: Yunhui Cui <yunhui.cui at nxp.com>
>
> Warnins log:
> drivers/spi/fsl_qspi.c: In function ‘qspi_ahb_read’:
> drivers/spi/fsl_qspi.c:400:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>   memcpy(rxbuf, (u8 *)(priv->cur_amba_base + priv->sf_addr), len);
>
> Signed-off-by: Yunhui Cui <yunhui.cui at nxp.com>
> ---
>  drivers/spi/fsl_qspi.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>

Applied to fsl-qoriq master, awaiting upstream.
Thanks.

York




More information about the U-Boot mailing list