diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-10 15:23:24 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 17:21:02 +0100 |
commit | 7340217262759c3daab41466138ba7d40a8f13d5 (patch) | |
tree | ded1fda647d4d9415f061ae5ac15ee4c685c7d48 /src/lib/coreboot_table.c | |
parent | b1260553be842dd82b0b022dd40a22527d3e3659 (diff) |
src/lib: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl:
WARNING: line over 80 characters
TEST=Build and run on Galileo Gen2
Change-Id: I5fa3f8e950e2f0c60bd0e8f030342dc8c0469299
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18758
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/coreboot_table.c')
-rw-r--r-- | src/lib/coreboot_table.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c index c1a2d9be4a..ecefba544c 100644 --- a/src/lib/coreboot_table.c +++ b/src/lib/coreboot_table.c @@ -79,7 +79,8 @@ static struct lb_record *lb_first_record(struct lb_header *header) static struct lb_record *lb_last_record(struct lb_header *header) { struct lb_record *rec; - rec = (void *)(((char *)header) + sizeof(*header) + header->table_bytes); + rec = (void *)(((char *)header) + sizeof(*header) + + header->table_bytes); return rec; } @@ -425,7 +426,8 @@ void __attribute__((weak)) lb_board(struct lb_header *header) { /* NOOP */ } */ void __attribute__((weak)) lb_spi_flash(struct lb_header *header) { /* NOOP */ } -static struct lb_forward *lb_forward(struct lb_header *header, struct lb_header *next_header) +static struct lb_forward *lb_forward(struct lb_header *header, + struct lb_header *next_header) { struct lb_record *rec; struct lb_forward *forward; @@ -445,7 +447,8 @@ static unsigned long lb_table_fini(struct lb_header *head) head->table_bytes += rec->size; first_rec = lb_first_record(head); - head->table_checksum = compute_ip_checksum(first_rec, head->table_bytes); + head->table_checksum = compute_ip_checksum(first_rec, + head->table_bytes); head->header_checksum = 0; head->header_checksum = compute_ip_checksum(head, sizeof(*head)); printk(BIOS_DEBUG, @@ -483,12 +486,15 @@ static uintptr_t write_coreboot_table(uintptr_t rom_table_end) CBFS_COMPONENT_CMOS_LAYOUT, NULL); if (option_table) { struct lb_record *rec_dest = lb_new_record(head); - /* Copy the option config table, it's already a lb_record... */ + /* Copy the option config table, it's already a + * lb_record... + */ memcpy(rec_dest, option_table, option_table->size); /* Create cmos checksum entry in coreboot table */ lb_cmos_checksum(head); } else { - printk(BIOS_ERR, "cmos_layout.bin could not be found!\n"); + printk(BIOS_ERR, + "cmos_layout.bin could not be found!\n"); } } #endif |