[coreboot-gerrit] Change in coreboot[master]: sb/intel/i82870: Add whitespace around '<<'

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Mon Jul 3 21:50:37 CEST 2017


HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/20460


Change subject: sb/intel/i82870: Add whitespace around '<<'
......................................................................

sb/intel/i82870: Add whitespace around '<<'

Change-Id: Ic8b0e6404a3f90312f7d2d3b6c367b0a1d9ec6e2
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/southbridge/intel/i82870/ioapic.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/20460/1

diff --git a/src/southbridge/intel/i82870/ioapic.c b/src/southbridge/intel/i82870/ioapic.c
index a02a2af..8281eb3 100644
--- a/src/southbridge/intel/i82870/ioapic.c
+++ b/src/southbridge/intel/i82870/ioapic.c
@@ -68,9 +68,9 @@
 	apic_id <<= 24;             // Convert ID to bitmask
 
 	*pIndexRegister = 0;        // Select APIC ID register
-	*pWindowRegister = (*pWindowRegister & ~(0xF<<24)) | apic_id;   // Set the ID
+	*pWindowRegister = (*pWindowRegister & ~(0xF << 24)) | apic_id;   // Set the ID
 
-	if ((*pWindowRegister & (0xF<<24)) != apic_id)
+	if ((*pWindowRegister & (0xF << 24)) != apic_id)
 		die("p64h2_ioapic_init failed");
 
 	*pIndexRegister  = 3;   // Select Boot Configuration register

-- 
To view, visit https://review.coreboot.org/20460
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic8b0e6404a3f90312f7d2d3b6c367b0a1d9ec6e2
Gerrit-Change-Number: 20460
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170703/f65d7e5f/attachment-0001.html>


More information about the coreboot-gerrit mailing list