git: 5c447fe67792 - main - usb: reduce verbosity of logging about unsuccessful port reset

Warner Losh imp at FreeBSD.org
Thu Jun 3 15:52:58 UTC 2021


The branch main has been updated by imp:

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

commit 5c447fe67792dff4e8d996f438908612c2111b58
Author:     Maksym Stetsyuk <maxsteciuk at gmail.com>
AuthorDate: 2021-06-03 15:52:21 +0000
Commit:     Warner Losh <imp at 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);


More information about the dev-commits-src-all mailing list