From 9e0606fc4ea27fb275f6987751224c60ee055ef1 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sun, 2 Sep 2012 13:54:14 +0300 Subject: [PATCH] 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-format-patch failed