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

Yunhui Cui yunhui.cui at nxp.com
Wed Aug 3 04:37:09 CEST 2016


Thanks a lot!

Yunhui

> -----Original Message-----
> From: york sun
> Sent: Wednesday, August 03, 2016 6:40 AM
> To: Yunhui Cui
> Cc: u-boot at lists.denx.de; Yunhui Cui
> Subject: Re: [PATCH v2] driver: spi: fsl-qspi: remove compile Warnings
> 
> 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