Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove '\n' from panic message.



details:   https://anonhg.NetBSD.org/src/rev/c060f12b9de1
branches:  trunk
changeset: 338118:c060f12b9de1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 11 06:44:36 2015 +0000

description:
Remove '\n' from panic message.

diffstat:

 sys/dev/usb/ehci.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 2694df1b321f -r c060f12b9de1 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon May 11 05:49:48 2015 +0000
+++ b/sys/dev/usb/ehci.c        Mon May 11 06:44:36 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.238 2015/03/01 09:53:36 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.239 2015/05/11 06:44:36 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.238 2015/03/01 09:53:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.239 2015/05/11 06:44:36 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2095,7 +2095,7 @@
        prev = NULL;
 
        if (exfer->itdstart == NULL || exfer->itdend == NULL)
-               panic("ehci isoc xfer being freed, but with no itd chain\n");
+               panic("ehci isoc xfer being freed, but with no itd chain");
 
        for (itd = exfer->itdstart; itd != NULL; itd = itd->xfer_next) {
                prev = itd->u.frame_list.prev;
@@ -4175,7 +4175,7 @@
 
 #ifdef DIAGNOSTIC
        if (xfer->rqflags & URQ_REQUEST)
-               panic("ehci_device_isoc_start: request\n");
+               panic("ehci_device_isoc_start: request");
 
        if (!exfer->isdone) {
                USBHIST_LOG(ehcidebug, "marked not done, ex = %p", exfer,
@@ -4344,7 +4344,7 @@
        itd = start;
        for (j = 0; j < frames; j++) {
                if (itd == NULL)
-                       panic("ehci: unexpectedly ran out of isoc itds, isoc_start\n");
+                       panic("ehci: unexpectedly ran out of isoc itds, isoc_start");
 
                itd->itd.itd_next = sc->sc_flist[frindex];
                if (itd->itd.itd_next == 0)



Home | Main Index | Thread Index | Old Index