commit | 59715754e1d1d9279f38d70df1c3c2949a5e5203 | [log] [tgz] |
---|---|---|
author | Sean Anderson <sean.anderson@seco.com> | Fri Feb 05 09:38:55 2021 -0500 |
committer | Marek Vasut <marex@denx.de> | Fri Feb 26 15:30:55 2021 +0100 |
tree | ab8726d8a56e72bf10dd9289548e4d7f96bb46f8 | |
parent | d4f22cb39e92ebfce74003b5779d6d6addc797e2 [diff] |
part: Give several functions more useful return values Several functions in disk/part.c just return -1 on error. This makes them return different errnos for different failures. This helps callers differentiate between failures, even if they cannot read stdout. Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>