Attention is currently required from: Aarya.

Anastasia Klimchuk has uploaded this change for review.

View Change

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>
---
M erasure_layout.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/25/84725/1
diff --git a/erasure_layout.c b/erasure_layout.c
index ee90afa..7c76c7a 100644
--- a/erasure_layout.c
+++ b/erasure_layout.c
@@ -271,8 +271,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.

Gerrit-MessageType: newchange
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: I11d2d1359f74475cb20a1c91bddb380b4952a704
Gerrit-Change-Number: 84725
Gerrit-PatchSet: 1
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Aarya <aarya.chaumal@gmail.com>
Gerrit-Attention: Aarya <aarya.chaumal@gmail.com>