Message ID | 1424700152-8554-4-git-send-email-l.majewski@samsung.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Łukasz Majewski |
Headers | show |
On Monday, February 23, 2015 at 03:02:24 PM, Lukasz Majewski wrote: > From: Inha Song <ideal.song@samsung.com> > > Signed-off-by: Inha Song <ideal.song@samsung.com> Is such confusing macro really necessary please ? Moreover, the #define BIT(x) (1 << x) should really be #define BIT(x) (1 << (x)) (with (x) in round brackets). Best regards, Marek Vasut
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 3f8a4e9..3355468 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -392,6 +392,7 @@ struct dwc3_event_buffer { unsigned int count; unsigned int flags; +#define BIT(x) (1 << x) #define DWC3_EVENT_PENDING BIT(0) dma_addr_t dma;