[coreboot-gerrit] New patch to review for coreboot: src/console: Add required space before opening parenthesis '('
HAOUAS Elyes (ehaouas@noos.fr)
gerrit at coreboot.org
Thu Aug 25 21:04:27 CEST 2016
HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16323
-gerrit
commit 886a9c016c32bc23893df8c83485d2fd34da31e5
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date: Thu Aug 25 21:02:20 2016 +0200
src/console: Add required space before opening parenthesis '('
Change-Id: Ibb2ce383322c174bdb3bcc88ae35c17f179f6d21
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
src/console/early_print.c | 2 +-
src/console/vtxprintf.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/console/early_print.c b/src/console/early_print.c
index 900dd5d..569b99d 100644
--- a/src/console/early_print.c
+++ b/src/console/early_print.c
@@ -52,7 +52,7 @@ void console_tx_hex32(unsigned int value)
void console_tx_string(const char *str)
{
unsigned char ch;
- while((ch = *str++) != '\0') {
+ while ((ch = *str++) != '\0') {
if (ch == '\n')
console_tx_byte('\r');
console_tx_byte(ch);
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index 8b4d414..d20a387 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -106,7 +106,7 @@ static int number(void (*tx_byte)(unsigned char byte, void *data),
precision = i;
size -= precision;
if (!(type&(ZEROPAD+LEFT)))
- while(size-->0)
+ while (size-->0)
call_tx(' '), count++;
if (sign)
call_tx(sign), count++;
More information about the coreboot-gerrit
mailing list