* [PATCH] drivers/usb/core: hcd.c: Removed BitTime space warnings
@ 2015-04-12 0:51 Chase Metzger
2015-04-28 10:59 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Chase Metzger @ 2015-04-12 0:51 UTC (permalink / raw)
To: gregkh
Cc: stern, dan.j.williams, antoine.tenart, pmladek, rafael.j.wysocki,
sergei.shtylyov, linux-usb, linux-kernel, Chase Metzger
Removed BitTime macro space warnings generated by checkpatch.pl.
Signed-off-by: Chase Metzger <chasemetzger15@gmail.com>
---
drivers/usb/core/hcd.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 601476c7..299ff0d 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1116,18 +1116,18 @@ long usb_calc_bus_time(int speed, int is_input, int isoc, int bytecount)
switch (speed) {
case USB_SPEED_LOW: /* INTR only */
if (is_input) {
- tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L;
+ tmp = (67667L * (31L + 10L * BitTime(bytecount))) / 1000L;
return 64060L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp;
} else {
- tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L;
+ tmp = (66700L * (31L + 10L * BitTime(bytecount))) / 1000L;
return 64107L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp;
}
case USB_SPEED_FULL: /* ISOC or INTR */
if (isoc) {
- tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
+ tmp = (8354L * (31L + 10L * BitTime(bytecount))) / 1000L;
return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp;
} else {
- tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
+ tmp = (8354L * (31L + 10L * BitTime(bytecount))) / 1000L;
return 9107L + BW_HOST_DELAY + tmp;
}
case USB_SPEED_HIGH: /* ISOC or INTR */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers/usb/core: hcd.c: Removed BitTime space warnings
2015-04-12 0:51 [PATCH] drivers/usb/core: hcd.c: Removed BitTime space warnings Chase Metzger
@ 2015-04-28 10:59 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-04-28 10:59 UTC (permalink / raw)
To: Chase Metzger
Cc: stern, dan.j.williams, antoine.tenart, pmladek, rafael.j.wysocki,
sergei.shtylyov, linux-usb, linux-kernel
On Sat, Apr 11, 2015 at 05:51:21PM -0700, Chase Metzger wrote:
> Removed BitTime macro space warnings generated by checkpatch.pl.
>
> Signed-off-by: Chase Metzger <chasemetzger15@gmail.com>
> ---
> drivers/usb/core/hcd.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
You sent a bunch of patches, yet didn't tell me what order to apply them
in :(
Can you redo these as a patch series, properly numbered, so that I have
a clue as to what order they should go in?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-28 10:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12 0:51 [PATCH] drivers/usb/core: hcd.c: Removed BitTime space warnings Chase Metzger
2015-04-28 10:59 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.