[U-Boot] [PATCH] spi flash: fix crash due to spi flash miscommunication

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Mon Jan 5 09:17:00 CET 2009


Mike Frysinger wrote:
> From: Brad Bozarth <bflinux at yumbrad.com>
> 
> Higher spi flash layers expect to be given back a pointer that was
> malloced so that it can free the result, but the lower layers return a
> pointer that is in the middle of the malloced memory.  Reorder the members
> of the lower spi structures so that things work out.
> 
> Signed-off-by: Brad Bozarth <bflinux at yumbrad.com>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> CC: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>

Acked-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>


More information about the U-Boot mailing list