Re: [U-Boot] [Patch V7 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2016-01-27 Thread york sun
On 01/25/2016 11:15 PM, Gong Qianyu wrote: > From: Gong Qianyu > > This patch fixes the following compile warning: > drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': > drivers/spi/fsl_qspi.c:937:15: > warning: cast to pointer from integer of different size >

[U-Boot] [Patch V7 1/4] spi: fsl_qspi: fix compile warning for 64-bit platform

2016-01-25 Thread Gong Qianyu
From: Gong Qianyu This patch fixes the following compile warning: drivers/spi/fsl_qspi.c: In function 'fsl_qspi_probe': drivers/spi/fsl_qspi.c:937:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->regs = (struct