From: jiahao <jiahao243@gmail.com>
To: mathias.nyman@intel.com, gregkh@linuxfoundation.org, jiahao@xiaomi.com
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] xhci: Fix log mistake of xhci_start
Date: Fri, 15 May 2020 13:45:06 +0800 [thread overview]
Message-ID: <1589521506-19492-1-git-send-email-jiahao@xiaomi.com> (raw)
It is obvious that XCHI_MAX_HALT_USEC is usec,
not milliseconds; Replace 'milliseconds' with
'usec' of the debug message.
Signed-off-by: jiahao <jiahao@xiaomi.com>
---
drivers/usb/host/xhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index bee5dec..d011472 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -147,7 +147,7 @@ int xhci_start(struct xhci_hcd *xhci)
STS_HALT, 0, XHCI_MAX_HALT_USEC);
if (ret == -ETIMEDOUT)
xhci_err(xhci, "Host took too long to start, "
- "waited %u microseconds.\n",
+ "waited %u usec.\n",
XHCI_MAX_HALT_USEC);
if (!ret)
/* clear state flags. Including dying, halted or removing */
--
2.7.4
next reply other threads:[~2020-05-15 5:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 5:45 jiahao [this message]
2020-05-15 6:53 ` [PATCH] xhci: Fix log mistake of xhci_start Mathias Nyman
2020-05-15 9:21 ` Sergei Shtylyov
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=1589521506-19492-1-git-send-email-jiahao@xiaomi.com \
--to=jiahao243@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jiahao@xiaomi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).