[coreboot-gerrit] New patch to review for coreboot: southbridge/via: Add space around operators

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Sun Sep 18 19:15:45 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/16635

-gerrit

commit fd5aa25395c42df6fbcf29385cebbccd3484c2c0
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Sun Sep 18 19:07:40 2016 +0200

    southbridge/via: Add space around operators
    
    Change-Id: Ib48c98bb161b92b28497df26fcfd0eae2c6829df
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/southbridge/via/k8t890/pcie.c  | 2 +-
 src/southbridge/via/vt8237r/pirq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/southbridge/via/k8t890/pcie.c b/src/southbridge/via/k8t890/pcie.c
index 25254c3..cc39f57 100644
--- a/src/southbridge/via/k8t890/pcie.c
+++ b/src/southbridge/via/k8t890/pcie.c
@@ -60,7 +60,7 @@ static void pcie_common_init(struct device *dev)
 
 	/* Wait up to 100ms for link to come up */
 	up = 0;
-	for (i=0; i<1000; i++) {
+	for (i = 0; i < 1000; i++) {
 		if (pci_read_config16(dev, 0x52) & (1<<13)) {
 			up = 1;
 			break;
diff --git a/src/southbridge/via/vt8237r/pirq.c b/src/southbridge/via/vt8237r/pirq.c
index 4687e82..ec393b4 100644
--- a/src/southbridge/via/vt8237r/pirq.c
+++ b/src/southbridge/via/vt8237r/pirq.c
@@ -21,7 +21,7 @@
 #include <device/pci_ids.h>
 #include <pc80/i8259.h>
 
-#if (CONFIG_PIRQ_ROUTE==1 && CONFIG_GENERATE_PIRQ_TABLE==1)
+#if (CONFIG_PIRQ_ROUTE == 1 && CONFIG_GENERATE_PIRQ_TABLE == 1)
 void pirq_assign_irqs(const unsigned char route[4])
 {
 	device_t pdev;



More information about the coreboot-gerrit mailing list