commit | ef0af64b1c45b8ee28db12c16c4ee881ee328e44 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jun 02 22:04:52 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Wed Jun 11 16:25:46 2014 -0400 |
tree | ae0d2333556164104f9c12f561221b1d3541ed01 | |
parent | 4f427a421fcba92b0325907fe79464c9791e85d5 [diff] |
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>