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 duplicate assignment to NULL of sqtdstart in...



details:   https://anonhg.NetBSD.org/src/rev/44f61be86bd4
branches:  trunk
changeset: 797924:44f61be86bd4
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Aug 04 06:17:04 2014 +0000

description:
Fix duplicate assignment to NULL of sqtdstart in ehci_device_isoc_start
and initialise sqtdend is NULL instead.

>From OpenBSD.

diffstat:

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

diffs (27 lines):

diff -r 06a981a55581 -r 44f61be86bd4 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Mon Aug 04 04:20:01 2014 +0000
+++ b/sys/dev/usb/ehci.c        Mon Aug 04 06:17:04 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.225 2014/02/17 07:34:21 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.226 2014/08/04 06:17:04 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.225 2014/02/17 07:34:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.226 2014/08/04 06:17:04 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -4195,7 +4195,7 @@
        exfer->itdstart = start;
        exfer->itdend = stop;
        exfer->sqtdstart = NULL;
-       exfer->sqtdstart = NULL;
+       exfer->sqtdend = NULL;
 
        ehci_add_intr_list(sc, exfer);
        xfer->status = USBD_IN_PROGRESS;



Home | Main Index | Thread Index | Old Index