diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-10-31 01:10:45 -0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 16:46:11 +1100 |
commit | 3dc16bb7cae2af752466f38ec928f75279da03f6 (patch) | |
tree | fe14f9e33ab1f7a364cae48c90a405a4a8be6fad /core/flash.c | |
parent | a49cc9811b9087c8277599a1e9a3403ef8cffb0d (diff) | |
download | skiboot-3dc16bb7cae2af752466f38ec928f75279da03f6.zip skiboot-3dc16bb7cae2af752466f38ec928f75279da03f6.tar.gz skiboot-3dc16bb7cae2af752466f38ec928f75279da03f6.tar.bz2 |
core/flash.c: Fix lines > 80 cols
This just do some line breaking in the flash_load_resource() function.
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
[stewart@linux.vnet.ibm.com: reword commit message]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/flash.c')
-rw-r--r-- | core/flash.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/flash.c b/core/flash.c index 83cd6c8..a704380 100644 --- a/core/flash.c +++ b/core/flash.c @@ -533,7 +533,8 @@ static int flash_load_resource(enum resource_id id, uint32_t subid, prlog(PR_DEBUG,"FLASH: %s partition %s ECC\n", name, ecc ? "has" : "doesn't have"); - if ((ecc ? ecc_buffer_size_minus_ecc(ffs_part_size) : ffs_part_size) < SECURE_BOOT_HEADERS_SIZE) { + if ((ecc ? ecc_buffer_size_minus_ecc(ffs_part_size) : ffs_part_size) < + SECURE_BOOT_HEADERS_SIZE) { prerror("FLASH: secboot headers bigger than " "partition size 0x%x\n", ffs_part_size); goto out_free_ffs; @@ -543,7 +544,8 @@ static int flash_load_resource(enum resource_id id, uint32_t subid, SECURE_BOOT_HEADERS_SIZE, ecc); if (rc) { prerror("FLASH: failed to read the first 0x%x from " - "%s partition, rc %d\n", SECURE_BOOT_HEADERS_SIZE, name, rc); + "%s partition, rc %d\n", SECURE_BOOT_HEADERS_SIZE, + name, rc); goto out_free_ffs; } @@ -633,7 +635,9 @@ static int flash_load_resource(enum resource_id id, uint32_t subid, } *len = ffs_part_size; - prlog(PR_DEBUG, "FLASH: Computed %s partition size: %u (subpart %u size %u offset %u)\n", name, ffs_part_size, subid, content_size, offset); + prlog(PR_DEBUG, "FLASH: Computed %s partition size: %u " + "(subpart %u size %u offset %u)\n", name, ffs_part_size, + subid, content_size, offset); /* * For a sub partition, we read the whole (computed) * partition, and then measure that. |