]> git.dujemihanovic.xyz Git - u-boot.git/commit
Improve error handling in fit_common
authorSimon Glass <sjg@chromium.org>
Tue, 3 Jun 2014 04:04:52 +0000 (22:04 -0600)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:25:46 +0000 (16:25 -0400)
commitef0af64b1c45b8ee28db12c16c4ee881ee328e44
treeae0d2333556164104f9c12f561221b1d3541ed01
parent4f427a421fcba92b0325907fe79464c9791e85d5
Improve error handling in fit_common

Make the error handling common, and make sure the file is always closed
on error. Rename the parameter to be more description and add comments.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/fit_check_sign.c
tools/fit_common.c
tools/fit_common.h
tools/fit_info.c