Re: [U-Boot] [PATCH] gpt: fix error reporting on partition table write failures

2015-02-18 Thread Przemyslaw Marczak
Hello Rob, On 01/26/2015 04:43 PM, Rob Herring wrote: The gpt command always reports success even if writing the partition table failed. Propagate the return value of gpt_restore so we get proper status reported. Signed-off-by: Rob Herring r...@kernel.org --- common/cmd_gpt.c | 4 ++-- 1

[U-Boot] [PATCH] gpt: fix error reporting on partition table write failures

2015-01-26 Thread Rob Herring
The gpt command always reports success even if writing the partition table failed. Propagate the return value of gpt_restore so we get proper status reported. Signed-off-by: Rob Herring r...@kernel.org --- common/cmd_gpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git