Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Update format to report sC



details:   https://anonhg.NetBSD.org/src/rev/50338b7d4718
branches:  trunk
changeset: 827433:50338b7d4718
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 28 07:36:02 2017 +0000

description:
Update format to report sC

diffstat:

 sys/dev/usb/ohci.c |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r b4fd149decbb -r 50338b7d4718 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Sat Oct 28 06:36:17 2017 +0000
+++ b/sys/dev/usb/ohci.c        Sat Oct 28 07:36:02 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.274 2017/10/28 00:37:12 pgoyette Exp $      */
+/*     $NetBSD: ohci.c,v 1.275 2017/10/28 07:36:02 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.274 2017/10/28 00:37:12 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.275 2017/10/28 07:36:02 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1313,14 +1313,12 @@
                usb_schedsoftintr(&sc->sc_bus);
        }
        if (eintrs & OHCI_RD) {
-/* 1 argument, but zero format strings */
-               DPRINTFN(5, "resume detect", (uintptr_t)sc, 0, 0, 0);
+               DPRINTFN(5, "resume detect sc=%#jx", (uintptr_t)sc, 0, 0, 0);
                printf("%s: resume detect\n", device_xname(sc->sc_dev));
                /* XXX process resume detect */
        }
        if (eintrs & OHCI_UE) {
-/* 1 argument, but zero format strings */
-               DPRINTFN(5, "unrecoverable error", (uintptr_t)sc, 0, 0, 0);
+               DPRINTFN(5, "unrecoverable error sc=%#jx", (uintptr_t)sc, 0, 0, 0);
                printf("%s: unrecoverable error, controller halted\n",
                       device_xname(sc->sc_dev));
                OWRITE4(sc, OHCI_CONTROL, OHCI_HCFS_RESET);



Home | Main Index | Thread Index | Old Index