Anastasia Klimchuk has submitted this change. ( https://review.coreboot.org/c/flashrom/+/84725?usp=email )
(
3 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: erasure_layout: Fix unreachable error message ......................................................................
erasure_layout: Fix unreachable error message
Change-Id: I11d2d1359f74475cb20a1c91bddb380b4952a704 Spotted-by: Sergii Dmytruk sergii.dmytruk@3mdeb.com Signed-off-by: Anastasia Klimchuk aklm@flashrom.org Reviewed-on: https://review.coreboot.org/c/flashrom/+/84725 Reviewed-by: Sergii Dmytruk sergii.dmytruk@3mdeb.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M erasure_layout.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Sergii Dmytruk: Looks good to me, approved
diff --git a/erasure_layout.c b/erasure_layout.c index 8b1a26f..55da163 100644 --- a/erasure_layout.c +++ b/erasure_layout.c @@ -300,8 +300,8 @@ return -1; } if (check_erased_range(flashctx, start_addr, block_len)) { - return -1; msg_cerr("ERASE FAILED!\n"); + return -1; }
update_progress(flashctx, FLASHROM_PROGRESS_ERASE, block_len);