mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chase Metzger <chasemetzger15@gmail.com>
To: gregkh@linuxfoundation.org
Cc: stern@rowland.harvard.edu, dan.j.williams@intel.com,
	antoine.tenart@free-electrons.com, pmladek@suse.cz,
	rafael.j.wysocki@intel.com, sergei.shtylyov@cogentembedded.com,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chase Metzger <chasemetzger15@gmail.com>
Subject: [PATCH] drivers/usb/core: hcd.c: Removed BitTime space warnings
Date: Sat, 11 Apr 2015 17:51:21 -0700	[thread overview]
Message-ID: <1428799881-20424-1-git-send-email-chasemetzger15@gmail.com> (raw)

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


             reply	other threads:[~2015-04-12  0:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12  0:51 Chase Metzger [this message]
2015-04-28 10:59 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428799881-20424-1-git-send-email-chasemetzger15@gmail.com \
    --to=chasemetzger15@gmail.com \
    --cc=antoine.tenart@free-electrons.com \
    --cc=dan.j.williams@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=pmladek@suse.cz \
    --cc=rafael.j.wysocki@intel.com \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®