[U-Boot] [U-Boot, 03/14] mkimage: Correct file being closed twice in fit_extract_data()

Tom Rini trini at konsulko.com
Wed Mar 23 02:59:31 CET 2016


On Wed, Mar 16, 2016 at 07:45:33AM -0600, Simon Glass wrote:

> The code flows through to the end of the function, so we don't need another
> close() before this. Remove it.
> 
> Reported-by: Coverity (CID: 138503)
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160322/0742f608/attachment.sig>


More information about the U-Boot mailing list