HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/20372
Change subject: libpayload/drivers/usb/ohci_private.h: Add brackets around macro ......................................................................
libpayload/drivers/usb/ohci_private.h: Add brackets around macro
Change-Id: Id4892adba161cd08eecde71a011384b6c465b98f Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M payloads/libpayload/drivers/usb/ohci_private.h 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/20372/1
diff --git a/payloads/libpayload/drivers/usb/ohci_private.h b/payloads/libpayload/drivers/usb/ohci_private.h index e912837..07bb20d 100644 --- a/payloads/libpayload/drivers/usb/ohci_private.h +++ b/payloads/libpayload/drivers/usb/ohci_private.h @@ -234,8 +234,8 @@
#define TD_DIRECTION_SHIFT 19 #define TD_DIRECTION_MASK MASK(TD_DIRECTION_SHIFT, 2) -#define TD_DIRECTION_SETUP OHCI_SETUP << TD_DIRECTION_SHIFT -#define TD_DIRECTION_IN OHCI_IN << TD_DIRECTION_SHIFT +#define TD_DIRECTION_SETUP (OHCI_SETUP << TD_DIRECTION_SHIFT) +#define TD_DIRECTION_IN (OHCI_IN << TD_DIRECTION_SHIFT) #define TD_DIRECTION_OUT OHCI_OUT << TD_DIRECTION_SHIFT #define TD_DELAY_INTERRUPT_SHIFT 21 #define TD_DELAY_INTERRUPT_MASK MASK(TD_DELAY_INTERRUPT_SHIFT, 3)