[Skiboot] [PATCH 2/5] nvram-format: fix inconsistent indenting

Stewart Smith stewart at linux.vnet.ibm.com
Fri Jul 8 10:38:32 AEST 2016


Found by smatch static analysis (http://smatch.sourceforge.net/):
core/nvram-format.c:146 nvram_check() warn: inconsistent indenting
core/nvram-format.c:151 nvram_check() warn: inconsistent indenting

Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 core/nvram-format.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/nvram-format.c b/core/nvram-format.c
index 881a3b910b69..899fab458f57 100644
--- a/core/nvram-format.c
+++ b/core/nvram-format.c
@@ -142,12 +142,12 @@ int nvram_check(void *nvram_image, const uint32_t nvram_size)
 		}
 	}
 	if (!found_common) {
-			prerror("NVRAM: Common partition not found !\n");
+		prerror("NVRAM: Common partition not found !\n");
 		goto failed;
 	}
 	if (!found_skiboot) {
-			prerror("NVRAM: Skiboot private partition "
-				"not found !\n");
+		prerror("NVRAM: Skiboot private partition "
+			"not found !\n");
 		goto failed;
 	}
 
-- 
2.1.4



More information about the Skiboot mailing list