[coreboot] New patch to review for coreboot: 31191fb SPI driver: style fix

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Sat May 12 23:31:40 CEST 2012


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1029

-gerrit

commit 31191fb9eacbada83ecdcba68325539ee019c20e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Sat May 12 23:30:36 2012 +0200

    SPI driver: style fix
    
    lint tests for labels to start at BOL, no spaces before them.
    
    Change-Id: Icf6ce533f26998a81b4be46d17e2d0b6b868904d
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 src/drivers/spi/spi_flash.c |    2 +-
 src/drivers/spi/sst.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/drivers/spi/spi_flash.c b/src/drivers/spi/spi_flash.c
index 7384cbc..2c0f702 100644
--- a/src/drivers/spi/spi_flash.c
+++ b/src/drivers/spi/spi_flash.c
@@ -177,7 +177,7 @@ int spi_flash_cmd_erase(struct spi_flash *flash, u8 erase_cmd,
 
 	printk(BIOS_DEBUG, "SF: Successfully erased %zu bytes @ %#x\n", len, start);
 
- out:
+out:
 	spi_release_bus(flash->spi);
 	return ret;
 }
diff --git a/src/drivers/spi/sst.c b/src/drivers/spi/sst.c
index 56cc851..c5bec12 100644
--- a/src/drivers/spi/sst.c
+++ b/src/drivers/spi/sst.c
@@ -193,7 +193,7 @@ sst_write(struct spi_flash *flash, u32 offset, size_t len, const void *buf)
 	if (!ret && actual != len)
 		ret = sst_byte_write(flash, offset, buf + actual);
 
- done:
+done:
 	printk(BIOS_INFO, "SF: SST: program %s %zu bytes @ 0x%lx\n",
 	      ret ? "failure" : "success", len, offset - actual);
 




More information about the coreboot mailing list