Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2021 15:52:58 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5c447fe67792 - main - usb: reduce verbosity of logging about unsuccessful port reset
Message-ID:  <202106031552.153Fqw5p016558@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c447fe67792dff4e8d996f438908612c2111b58

commit 5c447fe67792dff4e8d996f438908612c2111b58
Author:     Maksym Stetsyuk <maxsteciuk@gmail.com>
AuthorDate: 2021-06-03 15:52:21 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-06-03 15:52:52 +0000

    usb: reduce verbosity of logging about unsuccessful port reset
    
    Reviewed by:            imp@,hselasny@
    Pull Request:           https://github.com/freebsd/freebsd-src/pull/385
    Differential Revision:  https://reviews.freebsd.org/D30621
---
 sys/dev/usb/usb_hub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index 52ac0a8a7ff7..7f11eea2500d 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -720,7 +720,7 @@ repeat:
 		if ((sc->sc_st.port_change & UPS_C_CONNECT_STATUS) ||
 		    (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATUS))) {
 			if (timeout) {
-				DPRINTFN(0, "giving up port %d reset - "
+				DPRINTFN(1, "giving up port %d reset - "
 				   "device vanished: change %#x status %#x\n",
 				   portno, sc->sc_st.port_change,
 				   sc->sc_st.port_status);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106031552.153Fqw5p016558>