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 non-DIAGNOSTIC build
details: https://anonhg.NetBSD.org/src/rev/64732d679301
branches: trunk
changeset: 771575:64732d679301
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Nov 25 13:45:09 2011 +0000
description:
fix non-DIAGNOSTIC build
diffstat:
sys/dev/usb/umidi.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 53ef8fb9e905 -r 64732d679301 sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c Fri Nov 25 13:29:02 2011 +0000
+++ b/sys/dev/usb/umidi.c Fri Nov 25 13:45:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umidi.c,v 1.47 2011/11/24 22:12:51 mrg Exp $ */
+/* $NetBSD: umidi.c,v 1.48 2011/11/25 13:45:09 jmcneill Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.47 2011/11/24 22:12:51 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.48 2011/11/25 13:45:09 jmcneill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -1710,12 +1710,11 @@
out_solicit_locked(void *arg)
{
struct umidi_endpoint *ep = arg;
- struct umidi_softc *sc = ep->sc;
umidi_packet_bufp end;
u_int16_t which;
struct umidi_jack *jack;
- KASSERT(mutex_owned(&sc->sc_lock));
+ KASSERT(mutex_owned(&ep->sc->sc_lock));
end = ep->buffer + ep->buffer_size / sizeof *ep->buffer;
Home |
Main Index |
Thread Index |
Old Index