diff options
author | Rob Herring <robh@kernel.org> | 2015-01-26 09:43:15 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-05 11:17:53 -0500 |
commit | a150e6c9df04f8c5eb4c7f550a109e3e34aafa81 (patch) | |
tree | e643c2248ea92b9cb207079016b786086d620ca3 /lib/initcall.c | |
parent | 694cc87b76b1063a2a7a8bd1809e990df0a469f8 (diff) | |
download | talos-obmc-uboot-a150e6c9df04f8c5eb4c7f550a109e3e34aafa81.tar.gz talos-obmc-uboot-a150e6c9df04f8c5eb4c7f550a109e3e34aafa81.zip |
gpt: fix error reporting on partition table write failures
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 <robh@kernel.org>
Reviewed-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'lib/initcall.c')
0 files changed, 0 insertions, 0 deletions