diff mbox series

usb: dwc2: add parenthess and space around *

Message ID 1616988705-27062-1-git-send-email-tiantao6@hisilicon.com (mailing list archive)
State Superseded
Headers show
Series usb: dwc2: add parenthess and space around * | expand

Commit Message

tiantao (H) March 29, 2021, 3:31 a.m. UTC
Just fix the following checkpatch error:
ERROR: Macros with complex values should be enclosed in parentheses.`

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Zeng Tao <prime.zeng@hisilicon.com>
---
 drivers/usb/dwc2/hcd_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Greg KH March 29, 2021, 5:06 a.m. UTC | #1
On Mon, Mar 29, 2021 at 11:31:45AM +0800, Tian Tao wrote:
> Just fix the following checkpatch error:
> ERROR: Macros with complex values should be enclosed in parentheses.`

Why the trailing ` character here?

thanks,

greg k-h
tiantao (H) March 29, 2021, 6:03 a.m. UTC | #2
在 2021/3/29 13:06, Greg KH 写道:
> On Mon, Mar 29, 2021 at 11:31:45AM +0800, Tian Tao wrote:
>> Just fix the following checkpatch error:
>> ERROR: Macros with complex values should be enclosed in parentheses.`
> Why the trailing ` character here?

thanks for review,This is mistake,I will send v2 to fix it.

>
> thanks,
>
> greg k-h
> .
>
diff mbox series

Patch

diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c
index 68bbac6..621a484 100644
--- a/drivers/usb/dwc2/hcd_queue.c
+++ b/drivers/usb/dwc2/hcd_queue.c
@@ -59,7 +59,7 @@ 
 #define DWC2_UNRESERVE_DELAY (msecs_to_jiffies(5))
 
 /* If we get a NAK, wait this long before retrying */
-#define DWC2_RETRY_WAIT_DELAY 1*1E6L
+#define DWC2_RETRY_WAIT_DELAY (1 * 1E6L)
 
 /**
  * dwc2_periodic_channel_available() - Checks that a channel is available for a