[U-Boot] [PATCH 14/16] sandbox: spi: Remove an incorrect free()

Jagan Teki jteki at openedev.com
Mon Feb 15 20:02:10 CET 2016


On 15 February 2016 at 07:06, Simon Glass <sjg at chromium.org> wrote:
> We must not free data that is managed by driver mode. Remove this line,
> which is a hangover from the pre-driver-model code.
>
> This fixes a problem where 'sf probe' crashes U-Boot if the backing file
> for the SPI flash cannot be found.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---

Reviewed-by: Jagan Teki <jteki at openedev.com>
Tested-by: Jagan Teki <jteki at openedev.com>

-- 
Jagan.


More information about the U-Boot mailing list