On 01/25/2016 11:15 PM, Gong Qianyu wrote:
> From: Gong Qianyu <qianyu.g...@freescale.com>
> 
> In current driver, we always copy 4 bytes to the dest memory.
> Actually the dest memory may be shorter than 4 bytes.
> Add an argument to indicate the dest memory length.
> Avoid writing memory outside of the bounds.
> 
> Signed-off-by: Gong Qianyu <qianyu.g...@freescale.com>
> ---
> V3-V7:
>  - No change.
> V2:
>  - New patch. 
> 
>  drivers/spi/fsl_qspi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)


Applied to u-boot-fsl-qoriq master. Awaiting upstream.

Thanks.

York

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to