[coreboot-gerrit] Change in coreboot[master]: nb/intel/fsp_rangeley/port_access.c: Add brackets around macro

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Sat Jun 17 12:08:07 CEST 2017


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


Change subject: nb/intel/fsp_rangeley/port_access.c: Add brackets around macro
......................................................................

nb/intel/fsp_rangeley/port_access.c: Add brackets around macro

Change-Id: Idf86546ddda4fa2b4b96f0b703c03af9931c757d
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/fsp_rangeley/port_access.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/20251/1

diff --git a/src/northbridge/intel/fsp_rangeley/port_access.c b/src/northbridge/intel/fsp_rangeley/port_access.c
index 418cafc..07ef65c 100644
--- a/src/northbridge/intel/fsp_rangeley/port_access.c
+++ b/src/northbridge/intel/fsp_rangeley/port_access.c
@@ -43,8 +43,8 @@
  * ----------------------------------------------------------------------------
  */
 
-#define MSG_OPCODE_READ  0x10 << 24
-#define MSG_OPCODE_WRITE 0x11 << 24
+#define MSG_OPCODE_READ  (0x10 << 24)
+#define MSG_OPCODE_WRITE (0x11 << 24)
 
 #define MCR 0xD0
 #define MDR 0xD4

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf86546ddda4fa2b4b96f0b703c03af9931c757d
Gerrit-Change-Number: 20251
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas at noos.fr>



More information about the coreboot-gerrit mailing list