commit | e5da6df888db7ca9448198a0276bcd6a414f99cc | [log] [tgz] |
---|---|---|
author | Jeremy Compostella <jeremy.compostella@intel.com> | Sun Feb 22 10:47:16 2015 +0100 |
committer | Jeremy Compostella <jeremy.compostella@intel.com> | Sun Mar 01 11:54:02 2015 +0100 |
tree | c58308d6e62627730a875067b7e343c28a409d99 | |
parent | a4f05a543a180558bb17857ca91a3b0dc4884ca4 [diff] |
fastboot/sparse: propagate error code sparse_file_write_block calls functions that might failed. This patch makes sparse_file_write_block catch the error code and propagate it. Without this patch, fastboot crashes on a segmentation fault if usb_write() fail during a sparse file image flashing. Change-Id: If9c0e8dfac8fa380628a2504e13abe8cf7d62726 Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>