[Skiboot] [PATCH 11/25] hw/fake-nvram: Fix space between if and open paren

Joel Stanley joel at jms.id.au
Tue Sep 5 15:51:48 AEST 2017


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 hw/fake-nvram.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hw/fake-nvram.c b/hw/fake-nvram.c
index 99bee9fb4879..a454d50d788a 100644
--- a/hw/fake-nvram.c
+++ b/hw/fake-nvram.c
@@ -26,7 +26,7 @@ int fake_nvram_info(uint32_t *total_size)
 {
 	nvram_region = find_mem_region("ibm,fake-nvram");
 
-	if(!nvram_region)
+	if (!nvram_region)
 		return OPAL_HARDWARE;
 
 	*total_size = nvram_region->len;
@@ -36,7 +36,7 @@ int fake_nvram_info(uint32_t *total_size)
 
 int fake_nvram_start_read(void *dst, uint32_t src, uint32_t len)
 {
-	if(!nvram_region)
+	if (!nvram_region)
 		return -ENODEV;
 
 	lock(&fake_nvram_lock);
@@ -50,7 +50,7 @@ int fake_nvram_start_read(void *dst, uint32_t src, uint32_t len)
 
 int fake_nvram_write(uint32_t offset, void *src, uint32_t size)
 {
-	if(!nvram_region)
+	if (!nvram_region)
 		return OPAL_HARDWARE;
 
 	lock(&fake_nvram_lock);
-- 
2.14.1



More information about the Skiboot mailing list