From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Tue, 16 Feb 2016 00:32:10 +0530 Subject: [U-Boot] [PATCH 14/16] sandbox: spi: Remove an incorrect free() In-Reply-To: <1455500220-1324-15-git-send-email-sjg@chromium.org> References: <1455500220-1324-1-git-send-email-sjg@chromium.org> <1455500220-1324-15-git-send-email-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15 February 2016 at 07:06, Simon Glass 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 > --- Reviewed-by: Jagan Teki Tested-by: Jagan Teki -- Jagan.