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 Fix inverted logic. Spotted by Takahiro HA...



details:   https://anonhg.NetBSD.org/src/rev/5837796fe231
branches:  nick-nhusb
changeset: 334188:5837796fe231
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 05 07:26:31 2015 +0000

description:
Fix inverted logic.  Spotted by Takahiro HAYASHI.  Thanks.

diffstat:

 sys/dev/usb/uhci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 93bb69651d4c -r 5837796fe231 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sat Apr 04 06:22:06 2015 +0000
+++ b/sys/dev/usb/uhci.c        Sun Apr 05 07:26:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.264.4.31 2015/04/03 21:33:23 skrll Exp $    */
+/*     $NetBSD: uhci.c,v 1.264.4.32 2015/04/05 07:26:31 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.31 2015/04/03 21:33:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.32 2015/04/05 07:26:31 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -3106,7 +3106,7 @@
 
        UHCIHIST_FUNC(); UHCIHIST_CALLED();
 
-       KASSERT(!(xfer->ux_rqflags & URQ_REQUEST));
+       KASSERT(xfer->ux_rqflags & URQ_REQUEST);
 
        if (!uhci_active_intr_info(ii))
                return;



Home | Main Index | Thread Index | Old Index