Attention is currently required from: Nico Huber, Edward O'Callaghan, Angel Pons, Anastasia Klimchuk, Sergii Dmytruk.
View Change
3 comments:
File spi25_statusreg.c:
Patch Set #9, Line 120: msg_cerr("Cannot read register: not supported by chip\n");
Maybe I am missing something, but how nested ifs prevent using an else statement? You wrap condition […]
There are multiple ways of writing SR2, so there's a nested if/else chain inside the `if (reg == STATUS2)` block.
But someone may try to try to write SR2 on a chip that doesn't support it, in which case we should generate an error, even though the `if (reg == STATUS2)` block will run.
File spi25_statusreg.c:
Patch Set #10, Line 119:
}
else {
I am sorry I should have noticed this earlier, but `else` (and `else if`) needs to be on the same li […]
Done
Patch Set #10, Line 130:
flash, sizeof(read_cmd), sizeof(readarr),
&read_cmd, readarr);
This can fit into 112 chars right? It helps to git grep when all function arguments are on one line. […]
Done
To view, visit change 58475. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0a3951bbf993f2d8d830143b29d3ce16cc6901d7
Gerrit-Change-Number: 58475
Gerrit-PatchSet: 11
Gerrit-Owner: Nikolai Artemiev <nartemiev@google.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Gerrit-Comment-Date: Mon, 22 Nov 2021 02:42:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org>
Comment-In-Reply-To: Nikolai Artemiev <nartemiev@google.com>
Gerrit-MessageType: comment