Anastasia Klimchuk submitted this change.
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
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(-)
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);
To view, visit change 84725. To unsubscribe, or for help writing mail filters, visit settings.