From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 16 Mar 2016 22:08:35 -0400 Subject: [U-Boot] [PATCH 02/14] mkimage: Correct file being closed twice in fit_import_data() In-Reply-To: <1458135945-13385-3-git-send-email-sjg@chromium.org> References: <1458135945-13385-1-git-send-email-sjg@chromium.org> <1458135945-13385-3-git-send-email-sjg@chromium.org> Message-ID: <20160317020835.GD23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 16, 2016 at 07:45:32AM -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: 138504) > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: