Re: [PATCH 01/14] cmd: sf: Display errno on erase failure

2021-02-01 Thread Pratyush Yadav
On 31/01/21 07:34PM, Sean Anderson wrote: > If there is an error while erasing SPI flash, no errno is displayed. This > makes it difficult to determine the cause of the error. This change mirrors > the logic for write errors above. > > Signed-off-by: Sean Anderson Reviewed-by: Pratyush Yadav

Re: [PATCH 01/14] cmd: sf: Display errno on erase failure

2021-01-31 Thread Bin Meng
On Mon, Feb 1, 2021 at 8:35 AM Sean Anderson wrote: > > If there is an error while erasing SPI flash, no errno is displayed. This > makes it difficult to determine the cause of the error. This change mirrors > the logic for write errors above. > > Signed-off-by: Sean Anderson > --- > > cmd/sf.c

[PATCH 01/14] cmd: sf: Display errno on erase failure

2021-01-31 Thread Sean Anderson
If there is an error while erasing SPI flash, no errno is displayed. This makes it difficult to determine the cause of the error. This change mirrors the logic for write errors above. Signed-off-by: Sean Anderson --- cmd/sf.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff