Date: Wed, 16 Oct 2019 13:53:53 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353642 - head/sys/dev/usb/controller Message-ID: <201910161353.x9GDrrUq044752@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Wed Oct 16 13:53:53 2019 New Revision: 353642 URL: https://svnweb.freebsd.org/changeset/base/353642 Log: dwc3: Use a pair of ()'s around arguments for some macros Reported by: hselasky MFC after: 1 week X-MFC-With: r353533 Modified: head/sys/dev/usb/controller/dwc3.h Modified: head/sys/dev/usb/controller/dwc3.h ============================================================================== --- head/sys/dev/usb/controller/dwc3.h Wed Oct 16 13:30:28 2019 (r353641) +++ head/sys/dev/usb/controller/dwc3.h Wed Oct 16 13:53:53 2019 (r353642) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910161353.x9GDrrUq044752>