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 KASSERT
details: https://anonhg.NetBSD.org/src/rev/7f5a4ef68c88
branches: trunk
changeset: 344838:7f5a4ef68c88
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 23 18:54:42 2016 +0000
description:
Fix KASSERT
diffstat:
sys/dev/usb/motg.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 853e762b1d6f -r 7f5a4ef68c88 sys/dev/usb/motg.c
--- a/sys/dev/usb/motg.c Sat Apr 23 17:05:30 2016 +0000
+++ b/sys/dev/usb/motg.c Sat Apr 23 18:54:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: motg.c,v 1.14 2016/04/23 10:15:32 skrll Exp $ */
+/* $NetBSD: motg.c,v 1.15 2016/04/23 18:54:42 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012, 2014 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.14 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: motg.c,v 1.15 2016/04/23 18:54:42 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_motg.h"
@@ -1407,7 +1407,7 @@
KASSERT(mutex_owned(&sc->sc_lock));
- KASSERT(ep->phase == DATA_IN || ep->phase != STATUS_IN);
+ KASSERT(ep->phase == DATA_IN || ep->phase == STATUS_IN);
/* select endpoint 0 */
UWRITE1(sc, MUSB2_REG_EPINDEX, 0);
Home |
Main Index |
Thread Index |
Old Index