Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Not much point printing NULL in a KASSERTMS...
details: https://anonhg.NetBSD.org/src/rev/91103fe809b2
branches: nick-nhusb
changeset: 334317:91103fe809b2
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Nov 14 10:37:09 2015 +0000
description:
Not much point printing NULL in a KASSERTMSG, so don't.
diffstat:
sys/dev/usb/ehci.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r d93c67d51e76 -r 91103fe809b2 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Sat Nov 14 10:35:38 2015 +0000
+++ b/sys/dev/usb/ehci.c Sat Nov 14 10:37:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.234.2.65 2015/11/14 10:35:38 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.234.2.66 2015/11/14 10:37:09 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.234.2.65 2015/11/14 10:35:38 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.66 2015/11/14 10:37:09 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -3689,8 +3689,7 @@
/* Start toggle at 1. */
int toggle = 1;
next = exfer->ex_data;
- KASSERTMSG(next != NULL, "Failed memory allocation, "
- "data %p", next);
+ KASSERTMSG(next != NULL, "Failed memory allocation");
ehci_reset_sqtd_chain(sc, xfer, len, isread, &toggle,
next, &end);
end->nextqtd = status;
Home |
Main Index |
Thread Index |
Old Index