summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorOtavio Salvador <otavio.salvador@gmail.com>2020-07-09 00:07:55 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-04 23:17:37 +0100
commit0d6a0b9c7f246ac58812064f7ab74e0c74ebbffa (patch)
treee9fb4383fbe13f4ce1e50579572259a06f86e169 /contrib
parenta436f5fe0874407a32ef57469ec34c6d4d908e0d (diff)
downloadpoky-0d6a0b9c7f246ac58812064f7ab74e0c74ebbffa.tar.gz
mtd-utils: Fix return value of ubiformat
This changeset fixes a feature regression in ubiformat. Older versions of ubiformat, when invoked with a flash-image, would return 0 in the case no error was encountered. Upon upgrading to latest, it was discovered that ubiformat returned 255 even without encountering an error condition. This changeset corrects the above issue and causes ubiformat, when given an image file, to return 0 when no errors are detected. Backport fix from 2.1.2 (From OE-Core rev: 3ee98b6c9ddd1dd0825245ca672236b7befb9859) (From OE-Core rev: e10f007c165ed974a0cd4d46934cd4708661aaf5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 7ebacd9cbaec98fbc406e8ae99c9805a24fdadc6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions