From b439a929392ba54dee43455f6e164b884cb8c308 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 16 Mar 2017 16:44:36 -0700 Subject: soc/intel/skylake: Wrap lines at 80 columns Fix the following warning detected by checkpatch: WARNING: line over 80 characters TEST=Build for glados Change-Id: I79341f46ca06ac052f987975ccaf975470d27806 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18867 Tested-by: build bot (Jenkins) Reviewed-by: Lee Leahy --- src/soc/intel/skylake/me.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/soc/intel/skylake/me.c') diff --git a/src/soc/intel/skylake/me.c b/src/soc/intel/skylake/me.c index 2f94123374..dd734077ce 100644 --- a/src/soc/intel/skylake/me.c +++ b/src/soc/intel/skylake/me.c @@ -279,10 +279,12 @@ void intel_me_status(void) break; case ME_HFS2_PHASE_BUP: /* Bringup Phase */ - if (hfs2.fields.current_state < ARRAY_SIZE(me_progress_bup_values) + if (hfs2.fields.current_state + < ARRAY_SIZE(me_progress_bup_values) && me_progress_bup_values[hfs2.fields.current_state]) printk(BIOS_DEBUG, "%s", - me_progress_bup_values[hfs2.fields.current_state]); + me_progress_bup_values[ + hfs2.fields.current_state]); else printk(BIOS_DEBUG, "0x%02x", hfs2.fields.current_state); break; @@ -335,7 +337,8 @@ void intel_me_status(void) printk(BIOS_DEBUG, "Corporate\n"); break; default: - printk(BIOS_DEBUG, "Unknown (0x%x)\n", hfs3.fields.fw_sku); + printk(BIOS_DEBUG, "Unknown (0x%x)\n", + hfs3.fields.fw_sku); } } } @@ -494,7 +497,8 @@ static int recv_heci_packet(union mei_header *head, u32 *packet, } /* here is the message */ for (index = 0; index < length; index++) - packet[index] = me_read_mmio32(MMIO_ME_CB_RW); + packet[index] = + me_read_mmio32(MMIO_ME_CB_RW); rec_msg = 1; *packet_size = head->fields.length; -- cgit v1.2.3