[coreboot-gerrit] Change in coreboot[master]: libpayload/drivers/usb/ehci_private.h: Add brackets around m...

HAOUAS Elyes (Code Review) gerrit at coreboot.org
Mon Jun 26 21:47:29 CEST 2017


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


Change subject: libpayload/drivers/usb/ehci_private.h: Add brackets around macro
......................................................................

libpayload/drivers/usb/ehci_private.h: Add brackets around macro

Change-Id: Iee8dc03d5a4ca7537c7da4fed2c67b169c9e2422
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M payloads/libpayload/drivers/usb/ehci_private.h
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/20376/1

diff --git a/payloads/libpayload/drivers/usb/ehci_private.h b/payloads/libpayload/drivers/usb/ehci_private.h
index 8519c0f..79809f7 100644
--- a/payloads/libpayload/drivers/usb/ehci_private.h
+++ b/payloads/libpayload/drivers/usb/ehci_private.h
@@ -143,7 +143,7 @@
 } ehci_t;
 
 #define PS_TERMINATE 1
-#define PS_TYPE_QH 1 << 1
+#define PS_TYPE_QH (1 << 1)
 #define PS_PTR_MASK ~0x1f
 
 #define EHCI_INST(controller) ((ehci_t*)((controller)->instance))

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee8dc03d5a4ca7537c7da4fed2c67b169c9e2422
Gerrit-Change-Number: 20376
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/20170626/240eede3/attachment.html>


More information about the coreboot-gerrit mailing list