From: Artem Bityutskiy Date: Sun, 2 Sep 2012 10:54:14 +0000 (+0300) Subject: mtd: cmdlinepart: revise error handling X-Git-Tag: v3.7-rc1~70^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0606fc4ea27fb275f6987751224c60ee055ef1;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed