Skip to contentSkip to conversation

drivers/usb/core: hcd.c: Removed BitTime space warnings

PATCH In review Chase Metzger 2 participants 2 messages Apr 12, 2015 – Apr 28, 2015 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/usb/core: hcd.c: Removed BitTime space warnings

Removed BitTime macro space warnings generated by checkpatch.pl.

---
 drivers/usb/core/hcd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/usb/core/hcd.c +4 -4
index 601476c7..299ff0d 100644
@@ -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 */
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 6 lines · Chase Metzger

Removed BitTime macro space warnings generated by checkpatch.pl.

---
 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