aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-02-20 11:37:47 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:32:00 +1100
commit54d344d916a99519289e883a440522295e9a290c (patch)
tree3fe6ce040f15367b92d07b9122ea207f8cc34f65 /core
parent9e5a27f745a015408e7c15a8b37f560656fdd773 (diff)
downloadskiboot-54d344d916a99519289e883a440522295e9a290c.zip
skiboot-54d344d916a99519289e883a440522295e9a290c.tar.gz
skiboot-54d344d916a99519289e883a440522295e9a290c.tar.bz2
flash: Add newlines on prints
These were added in a8513d3f3e but I forgot the \n. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core')
-rw-r--r--core/flash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/flash.c b/core/flash.c
index b24ceaa..95ce1f0 100644
--- a/core/flash.c
+++ b/core/flash.c
@@ -368,14 +368,14 @@ static int flash_find_subpartition(struct flash_chip *chip, uint32_t subid,
/* Get the TOC */
rc = flash_read(chip, *start, header, FLASH_SUBPART_HEADER_SIZE);
if (rc) {
- prerror("FLASH: flash subpartition TOC read failed %i", rc);
+ prerror("FLASH: flash subpartition TOC read failed %i\n", rc);
goto end;
}
/* Perform sanity */
i = be32_to_cpu(header->version);
if (i != 1) {
- prerror("FLASH: flash subpartition TOC version unknown %i", i);
+ prerror("FLASH: flash subpartition TOC version unknown %i\n", i);
rc = OPAL_RESOURCE;
goto end;
}
@@ -394,7 +394,7 @@ static int flash_find_subpartition(struct flash_chip *chip, uint32_t subid,
size = be32_to_cpu(header->toc[i].size);
/* Check for null terminating entry */
if (!ec && !offset && !size) {
- prerror("FLASH: flash subpartition not found.");
+ prerror("FLASH: flash subpartition not found.\n");
goto end;
}
@@ -403,16 +403,16 @@ static int flash_find_subpartition(struct flash_chip *chip, uint32_t subid,
/* Sanity check the offset and size */
if (offset + size > *total_size) {
- prerror("FLASH: flash subpartition too big: %i", i);
+ prerror("FLASH: flash subpartition too big: %i\n", i);
goto end;
}
if (!size) {
- prerror("FLASH: flash subpartition zero size: %i", i);
+ prerror("FLASH: flash subpartition zero size: %i\n", i);
goto end;
}
if (offset < FLASH_SUBPART_HEADER_SIZE) {
prerror("FLASH: flash subpartition "
- "offset too small: %i", i);
+ "offset too small: %i\n", i);
goto end;
}