From 3635891a92ce6fcadca6381eb83d83623236092c Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 16 Oct 2019 13:53:53 +0000 Subject: dwc3: Use a pair of ()'s around arguments for some macros Reported by: hselasky MFC after: 1 week X-MFC-With: r353533 --- sys/dev/usb/controller/dwc3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/controller') diff --git a/sys/dev/usb/controller/dwc3.h b/sys/dev/usb/controller/dwc3.h index f34ceb5d04ac7..7153f9abf0dfd 100644 --- a/sys/dev/usb/controller/dwc3.h +++ b/sys/dev/usb/controller/dwc3.h @@ -92,8 +92,8 @@ #define DWC3_GUSB3PIPECTL0_PHYSOFTRST (1 << 31) #define DWC3_GUSB3PIPECTL0_DELAYP1TRANS (1 << 18) -#define DWC3_GTXFIFOSIZ(x) (0xc300 + 0x4 * x) -#define DWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * x) +#define DWC3_GTXFIFOSIZ(x) (0xc300 + 0x4 * (x)) +#define DWC3_GRXFIFOSIZ(x) (0xc380 + 0x4 * (x)) #define DWC3_GEVNTADRLO0 0xc400 #define DWC3_GEVNTADRHI0 0xc404 #define DWC3_GEVNTSIZ0 0xc408 -- cgit v1.3