Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix null pointer dereference when EHCI_DEBUG is ...
details: https://anonhg.NetBSD.org/src/rev/f979d34eccf4
branches: trunk
changeset: 518487:f979d34eccf4
user: enami <enami%NetBSD.org@localhost>
date: Sat Dec 01 09:39:32 2001 +0000
description:
Fix null pointer dereference when EHCI_DEBUG is defined (and
debug is enabled).
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d5acdd264fc3 -r f979d34eccf4 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Sat Dec 01 06:33:40 2001 +0000
+++ b/sys/dev/usb/ehci.c Sat Dec 01 09:39:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.26 2001/11/23 01:16:27 augustss Exp $ */
+/* $NetBSD: ehci.c,v 1.27 2001/12/01 09:39:32 enami Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.26 2001/11/23 01:16:27 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.27 2001/12/01 09:39:32 enami Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -381,7 +381,7 @@
sqh->sqtd = NULL;
#ifdef EHCI_DEBUG
if (ehcidebug) {
- ehci_dump_sqh(sc->sc_async_head);
+ ehci_dump_sqh(sqh);
}
#endif
Home |
Main Index |
Thread Index |
Old Index