commit | 9e0606fc4ea27fb275f6987751224c60ee055ef1 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Sun Sep 02 13:54:14 2012 +0300 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sat Sep 29 15:33:00 2012 +0100 |
tree | 284b1818429d0bc6c1299c31d6ddeebfe1e17194 | |
parent | 3cf7f1314ed88598b640318f60d8d5fb40509f23 [diff] |
mtd: cmdlinepart: revise error handling This patch revises and fixes error handling in the command line mtd partitions parser. Namely: 1. we ignored return code of 'mtdpart_setup_real()'. 2. instead of returning 0 for failure and 1 for success, teach 'mtdpart_setup_real()' to return real error codes. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>