diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 16:44:36 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 02:34:52 +0100 |
commit | b439a929392ba54dee43455f6e164b884cb8c308 (patch) | |
tree | ffc44834d8ff6144d360a356dab0688e006945af /src/soc/intel/skylake/me.c | |
parent | 573564cca8cd01cadf179546b8b124694fd3dcbb (diff) | |
download | coreboot-b439a929392ba54dee43455f6e164b884cb8c308.tar.xz |
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 <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18867
Tested-by: build bot (Jenkins)
Reviewed-by: Lee Leahy <leroy.p.leahy@intel.com>
Diffstat (limited to 'src/soc/intel/skylake/me.c')
-rw-r--r-- | src/soc/intel/skylake/me.c | 12 |
1 files changed, 8 insertions, 4 deletions
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; |