Edward O'Callaghan submitted this change.

View Change

Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved Angel Pons: Looks good to me, approved
lspcon_i2c_spi.c: Trivial style fix

Change-Id: I0675b467d7b0d24626a336033668bf80bfeeb815
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/40679
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
---
M lspcon_i2c_spi.c
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lspcon_i2c_spi.c b/lspcon_i2c_spi.c
index 1ee5f37..8de2c14 100644
--- a/lspcon_i2c_spi.c
+++ b/lspcon_i2c_spi.c
@@ -151,7 +151,7 @@
int ret = 0;
do {
ret |= lspcon_i2c_spi_read_register(fd, offset, &val);
- } while(!ret && (val & mask) && ++tried < MAX_SPI_WAIT_RETRIES);
+ } while (!ret && (val & mask) && ++tried < MAX_SPI_WAIT_RETRIES);

if (tried == MAX_SPI_WAIT_RETRIES) {
msg_perr("Error: Time out on sending command.\n");

To view, visit change 40679. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0675b467d7b0d24626a336033668bf80bfeeb815
Gerrit-Change-Number: 40679
Gerrit-PatchSet: 2
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-CC: Shiyu Sun <sshiyu@google.com>
Gerrit-MessageType: merged